projects
/
pintos-anon
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef3fb56
)
Disable networking when running qemu,
author
Ben Pfaff
<blp@cs.stanford.edu>
Sat, 27 May 2006 16:27:04 +0000
(16:27 +0000)
committer
Ben Pfaff
<blp@cs.stanford.edu>
Sat, 27 May 2006 16:27:04 +0000
(16:27 +0000)
to suppress prompt for sudo password (if enabled).
src/utils/pintos
patch
|
blob
|
history
diff --git
a/src/utils/pintos
b/src/utils/pintos
index 31f4a38dc867950e0a52b8906d65e103a88d5504..f0ab60c25d717c424a48dda0cc3e29cd79328083 100755
(executable)
--- 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';