From b43e78f76b2398964b372cf084490168e993aad7 Mon Sep 17 00:00:00 2001 From: Eric Blake Date: Wed, 1 Jun 2011 15:02:06 -0600 Subject: [PATCH] tests: really fix QEMU XML-2-ARGV graphics-spice-timeout test Alas, /usr/bin/kvm is also not directly supported by testutilsqemu.c. In fact, _any_ test that uses has to use our faked qemu.sh in order to properly answer the 'qemu -cpu ?' probe done during qemu command line building. * tests/qemuxml2argvdata/*graphics-spice-timeout*: Switch emulator, again. --- .../qemuxml2argvdata/qemuxml2argv-graphics-spice-timeout.args | 2 +- .../qemuxml2argvdata/qemuxml2argv-graphics-spice-timeout.xml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/qemuxml2argvdata/qemuxml2argv-graphics-spice-timeout.args b/tests/qemuxml2argvdata/qemuxml2argv-graphics-spice-timeout.args index d5226a7401..62ce46f7c7 100644 --- a/tests/qemuxml2argvdata/qemuxml2argv-graphics-spice-timeout.args +++ b/tests/qemuxml2argvdata/qemuxml2argv-graphics-spice-timeout.args @@ -1,5 +1,5 @@ LC_ALL=C PATH=/bin HOME=/home/test USER=test LOGNAME=test QEMU_AUDIO_DRV=spice \ -/usr/bin/kvm -S -M pc-0.13 -cpu core2duo,+lahf_lm,+xtpr,+cx16,+tm2,\ +./qemu.sh -S -M pc -cpu core2duo,+lahf_lm,+xtpr,+cx16,+tm2,\ +est,+vmx,+ds_cpl,+pbe,+tm,+ht,+ss,+acpi,+ds \ -m 1024 -smp 2 -nodefaults -monitor unix:/tmp/test-monitor,server,nowait \ -boot dc -device virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x6 \ diff --git a/tests/qemuxml2argvdata/qemuxml2argv-graphics-spice-timeout.xml b/tests/qemuxml2argvdata/qemuxml2argv-graphics-spice-timeout.xml index 6272f1bd22..4c0c57edf2 100644 --- a/tests/qemuxml2argvdata/qemuxml2argv-graphics-spice-timeout.xml +++ b/tests/qemuxml2argvdata/qemuxml2argv-graphics-spice-timeout.xml @@ -5,7 +5,7 @@ 1048576 2 - hvm + hvm @@ -38,7 +38,7 @@ restart restart - /usr/bin/kvm + /./qemu.sh