From: Roger Pau Monne Date: Tue, 14 Nov 2023 11:56:09 +0000 (+0100) Subject: automation: add placeholder to Linux command line in QEMU tests X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=refs%2Fheads%2Ftest-script2;p=people%2Froyger%2Fxen.git automation: add placeholder to Linux command line in QEMU tests Otherwise the console=hvc0 command line option is not detected, and there's no output on the (emulated) serial console from dom0. Fixes: 3030a73bf849 ('automation: add a QEMU based x86_64 Dom0/DomU test') Signed-off-by: Roger Pau Monné --- diff --git a/automation/scripts/qemu-alpine-x86_64.sh b/automation/scripts/qemu-alpine-x86_64.sh index 8c8d0b0cd7..f191e3062e 100755 --- a/automation/scripts/qemu-alpine-x86_64.sh +++ b/automation/scripts/qemu-alpine-x86_64.sh @@ -78,13 +78,13 @@ EOF rm -f smoke.serial set +e timeout -k 1 720 \ -qemu-system-x86_64 \ - -cpu qemu64,+svm \ - -m 2G -smp 2 \ - -monitor none -serial stdio \ - -nographic \ - -device virtio-net-pci,netdev=n0 \ - -netdev user,id=n0,tftp=binaries,bootfile=/pxelinux.0 |& tee smoke.serial +script -c "qemu-system-x86_64 \ + -cpu qemu64,+svm \ + -m 2G -smp 2 \ + -monitor none -serial stdio \ + -nographic \ + -device virtio-net-pci,netdev=n0 \ + -netdev user,id=n0,tftp=binaries,bootfile=/pxelinux.0" smoke.serial set -e (grep -q "Domain-0" smoke.serial && grep -q "BusyBox" smoke.serial) || exit 1