summaryrefslogtreecommitdiff
path: root/qemu.sh
diff options
context:
space:
mode:
authorRichard Braun <rbraun@sceen.net>2017-10-14 23:45:04 +0200
committerRichard Braun <rbraun@sceen.net>2018-01-04 01:57:38 +0100
commit9437f135da9fab16180fc64cdd64e2a3bb3d5b7a (patch)
tree8cd3d9e769c2af24463d58e8ba416aae9de9ce7b /qemu.sh
Initial commit
Diffstat (limited to 'qemu.sh')
-rwxr-xr-xqemu.sh19
1 files changed, 19 insertions, 0 deletions
diff --git a/qemu.sh b/qemu.sh
new file mode 100755
index 0000000..8bb4079
--- /dev/null
+++ b/qemu.sh
@@ -0,0 +1,19 @@
+#!/bin/sh
+
+# Start the QEMU emulator with options doing the following :
+# - GDB remote access on the local TCP port 1234
+# - 64MB of physical memory (RAM)
+# - No video device (automatically sets the first COM port as the console)
+# - Boot from the generated cdrom image.
+#
+# In order to dump all exceptions and interrupts to a log file, you may add
+# the following options :
+# -d int \
+# -D int_debug.log \
+#
+# Note that these debugging options do not work when KVM is enabled.
+qemu-system-i386 \
+ -gdb tcp::1234 \
+ -m 64 \
+ -nographic \
+ -kernel x1