From 3640f94ee392b19de48360d2d026a7f581447049 Mon Sep 17 00:00:00 2001 From: Richard Braun Date: Sat, 14 Apr 2018 23:59:47 +0200 Subject: tools/qemu.sh: only pass x15 as the kernel argument to QEMU This makes reading the command line easier in the kernel log. --- tools/qemu.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tools') 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 -- cgit v1.2.3