]> xenbits.xensource.com Git - people/royger/xen.git/commitdiff
automation: add placeholder to Linux command line in QEMU tests test-script2 gitlab/test-script2
authorRoger Pau Monne <roger.pau@citrix.com>
Tue, 14 Nov 2023 11:56:09 +0000 (12:56 +0100)
committerRoger Pau Monne <roger.pau@citrix.com>
Tue, 14 Nov 2023 13:41:08 +0000 (14:41 +0100)
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é <roger.pau@citrix.com>
automation/scripts/qemu-alpine-x86_64.sh

index 8c8d0b0cd7598d16d5771c5f1c834caa65643bcc..f191e3062e05933159416b82b1417d4f6bcc9f08 100755 (executable)
@@ -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