From 79798f20b2c0b98d84c3c4b14600635ff8ddfdad Mon Sep 17 00:00:00 2001 From: Otavio Salvador Date: Wed, 29 Jun 2016 17:08:11 -0300 Subject: runqemu: Avoid duplicating custom QEMU options for AArch64 When detecting the second serial options we shouldn't append the custom QEMU options otherwise we will end duplicating those. Signed-off-by: Otavio Salvador Signed-off-by: Ross Burton --- scripts/runqemu-internal | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/runqemu-internal b/scripts/runqemu-internal index ea1a307234..3f413e7788 100755 --- a/scripts/runqemu-internal +++ b/scripts/runqemu-internal @@ -681,7 +681,7 @@ fi # qemuarm64 uses virtio for any additional serial ports so the normal mechanism # of using -serial will not work if [ "$MACHINE" = "qemuarm64" ]; then - SECOND_SERIAL_OPT="$SCRIPT_QEMU_EXTRA_OPT -device virtio-serial-device -chardev null,id=virtcon -device virtconsole,chardev=virtcon" + SECOND_SERIAL_OPT="-device virtio-serial-device -chardev null,id=virtcon -device virtconsole,chardev=virtcon" else SECOND_SERIAL_OPT="-serial null" fi -- cgit 1.2.3-korg