summaryrefslogtreecommitdiff
path: root/qemu.sh
blob: 8bb4079224643f7db30f9e9c7f4974afcbcbac73 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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