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?p=pintos-anon;a=commitdiff_plain;h=05532706c2da3ebb71acc6e94e68e4fd45b5758a 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';