From: Ben Pfaff Date: Sat, 27 May 2006 16:27:04 +0000 (+0000) Subject: Disable networking when running qemu, X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a8d9ba5e0eb1a18f2201792e17f77f2a16b4f918;p=pintos-anon Disable networking when running qemu, to suppress prompt for sudo password (if enabled). --- diff --git a/src/utils/pintos b/src/utils/pintos index 31f4a38..f0ab60c 100755 --- a/src/utils/pintos +++ b/src/utils/pintos @@ -448,6 +448,7 @@ sub run_qemu { if defined $disks_by_iface[$iface]{FILE_NAME}; } push (@cmd, '-m', $mem); + push (@cmd, '-net', 'none'); push (@cmd, '-nographic') if $vga eq 'none'; push (@cmd, '-serial', 'stdio') if $serial_out && $vga ne 'none'; push (@cmd, '-S') if $debug eq 'monitor';