summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Braun <rbraun@sceen.net>2018-04-14 23:59:47 +0200
committerRichard Braun <rbraun@sceen.net>2018-04-14 23:59:47 +0200
commit3640f94ee392b19de48360d2d026a7f581447049 (patch)
treec09c03689c7ae1025b2dc69d8aa7c327ed53eaeb
parent12c41b0aab1e590a9f96f13df9796eff6004d233 (diff)
tools/qemu.sh: only pass x15 as the kernel argument to QEMU
This makes reading the command line easier in the kernel log.
-rwxr-xr-xtools/qemu.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/qemu.sh b/tools/qemu.sh
index 3aef63e..91029b1 100755
--- a/tools/qemu.sh
+++ b/tools/qemu.sh
@@ -25,13 +25,14 @@ TMPDIR=$(mktemp -d)
objcopy -O elf32-i386 $X15 $TMPDIR/x15
+cd $TMPDIR
$QEMU_EXE $KVM \
-ctrl-grab \
-gdb tcp::1234 \
-m $RAM \
-smp $NR_CPUS \
-monitor stdio \
- -kernel $TMPDIR/x15 \
+ -kernel x15 \
-append "console=atcons"
rm -rf $TMPDIR