From cd616a383ef02799f3f62af3b9cae0a98e290483 Mon Sep 17 00:00:00 2001 From: Darren Shepherd Date: Mon, 27 Jul 2015 15:55:45 -0700 Subject: [PATCH] Fix script/run on Linux --- scripts/run | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/run b/scripts/run index 50f28d40..175d268f 100755 --- a/scripts/run +++ b/scripts/run @@ -114,7 +114,7 @@ if [ "$UNAME" == "Darwin" ] && [ -x $(which xhyve) ]; then -U a01fb25c-3a19-4759-a47a-2e353e51807d \ -f kexec,${KERNEL},${INITRD_TEST},"earlyprintk=serial acpi=off elevator=noop ${KERNEL_ARGS}" -elif ["$UNAME" == "Linux"] && [ -x $(which qemu-system-x86_64) ]; then +elif [ "$UNAME" == "Linux" ] && [ -x $(which qemu-system-x86_64) ]; then exec qemu-system-x86_64 -serial stdio \ -kernel ${KERNEL} \ -initrd ${INITRD_TEST} \ @@ -129,7 +129,8 @@ elif ["$UNAME" == "Linux"] && [ -x $(which qemu-system-x86_64) ]; then -device virtio-9p-pci,fsdev=conf,mount_tag=config-2 \ -append "${KERNEL_ARGS}" \ -serial mon:telnet:localhost:4444,server,nowait \ + -nographic \ ${QEMU_ARGS} "${@}" else exit 42 -fi \ No newline at end of file +fi