Allow Bochs users to reboot by clicking the "user" button.
authorBen Pfaff <blp@cs.stanford.edu>
Sun, 9 Nov 2008 23:21:21 +0000 (15:21 -0800)
committerBen Pfaff <blp@cs.stanford.edu>
Sun, 9 Nov 2008 23:22:46 +0000 (15:22 -0800)
The "user_shortcut" Bochs option allows specifying a key combination to
send to the VM when the user clicks on the "user" button in the Bochs
headerbar.

From Godmar, crossported from his usb-integration-aug08 branch.

src/utils/pintos

index fca610a15c83d6c4cdd1e80062d04b1812f5d1f8..c71ebc20ab4ec0b31bc29bf72e298c2ca48e1678 100755 (executable)
@@ -480,6 +480,7 @@ cpu: ips=1000000
 megs: $mem
 log: bochsout.txt
 panic: action=fatal
+user_shortcut: keys=ctrlaltdel
 EOF
     print BOCHSRC "gdbstub: enabled=1\n" if $debug eq 'gdb';
     if ($realtime) {