diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-05-17 00:06:23 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-05-17 00:06:23 +0200 |
commit | c56e3ebee1fdbd242a974f7d95cbcb98272ac3b7 (patch) | |
tree | 316f365cadaf776f81efcd2fdf8df73d088f1a0d /Kernel | |
parent | bcb7893156d87397aac214ccf1f26e34658b66ca (diff) | |
download | serenity-c56e3ebee1fdbd242a974f7d95cbcb98272ac3b7.zip |
Always dump QEMU CPU state on CPU reset.
Diffstat (limited to 'Kernel')
-rwxr-xr-x | Kernel/run | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Kernel/run b/Kernel/run index ee0532bd7c..a0fc9e63b0 100755 --- a/Kernel/run +++ b/Kernel/run @@ -12,6 +12,7 @@ elif [ "$1" = "qn" ]; then # ./run qn: qemu without network $SERENITY_QEMU_BIN -s -m $ram_size \ $SERENITY_EXTRA_QEMU_ARGS \ + -d cpu_reset \ -device e1000 \ -kernel kernel \ -hda _fs_contents \ @@ -20,6 +21,7 @@ elif [ "$1" = "qtap" ]; then # ./run qtap: qemu with tap sudo $SERENITY_QEMU_BIN -s -m $ram_size \ $SERENITY_EXTRA_QEMU_ARGS \ + -d cpu_reset \ -object filter-dump,id=hue,netdev=br0,file=e1000.pcap \ -netdev tap,ifname=tap0,id=br0 \ -device e1000,netdev=br0 \ @@ -30,6 +32,7 @@ else # ./run: qemu with user networking $SERENITY_QEMU_BIN -s -m $ram_size \ $SERENITY_EXTRA_QEMU_ARGS \ + -d cpu_reset \ -object filter-dump,id=hue,netdev=breh,file=e1000.pcap \ -netdev user,id=breh,hostfwd=tcp:127.0.0.1:8888-192.168.5.2:8888 \ -device e1000,netdev=breh \ |