aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Privoznik <mprivozn@redhat.com>2012-03-09 10:10:53 +0100
committerMichal Privoznik <mprivozn@redhat.com>2012-03-09 10:14:31 +0100
commitc6daec7b14d96884c13d919989cb369a6065cb44 (patch)
treeb9a8f76f11f53f0c38395f073b8ba1b2d629b551 /tests/qemuxml2argvtest.c
parentqemuBuildCommandLine: Don't add tlsPort if none set (diff)
downloadlibvirt-c6daec7b14d96884c13d919989cb369a6065cb44.tar.gz
libvirt-c6daec7b14d96884c13d919989cb369a6065cb44.tar.bz2
libvirt-c6daec7b14d96884c13d919989cb369a6065cb44.zip
qemuxml2argvtest: Pass some additional flags to graphics-spice-agentmouse
One of the recent commits introduced support for spice agent-mouse. However, test for this feature require some tweaking: pass QEMU_CAPS_CHARDEV_SPICEVMC | QEMU_CAPS_NODEFCONFIG and add "-vga cirrus".
Diffstat (limited to 'tests/qemuxml2argvtest.c')
-rw-r--r--tests/qemuxml2argvtest.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/qemuxml2argvtest.c b/tests/qemuxml2argvtest.c
index 3cfd69c2c..9001834e8 100644
--- a/tests/qemuxml2argvtest.c
+++ b/tests/qemuxml2argvtest.c
@@ -513,7 +513,9 @@ mymain(void)
QEMU_CAPS_DEVICE, QEMU_CAPS_SPICE);
DO_TEST("graphics-spice-agentmouse", false,
QEMU_CAPS_VGA, QEMU_CAPS_VGA_QXL,
- QEMU_CAPS_DEVICE, QEMU_CAPS_SPICE);
+ QEMU_CAPS_DEVICE, QEMU_CAPS_SPICE,
+ QEMU_CAPS_CHARDEV_SPICEVMC,
+ QEMU_CAPS_NODEFCONFIG);
DO_TEST("graphics-spice-compression", false,
QEMU_CAPS_VGA, QEMU_CAPS_VGA_QXL,
QEMU_CAPS_DEVICE, QEMU_CAPS_SPICE);