summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuannan Ren <gren@redhat.com>2012-09-13 15:25:47 +0800
committerGuannan Ren <gren@redhat.com>2012-09-13 17:22:37 +0800
commit1c9d485dda321bccc554e2411f1a53b4c2abefdb (patch)
tree5365858501491d495f1040fb84e2fd495aa32c21 /tests/qemuxml2argvtest.c
parentqemu: build USB redirection filter qemu command line (diff)
downloadlibvirt-1c9d485dda321bccc554e2411f1a53b4c2abefdb.tar.gz
libvirt-1c9d485dda321bccc554e2411f1a53b4c2abefdb.tar.bz2
libvirt-1c9d485dda321bccc554e2411f1a53b4c2abefdb.zip
test: add xml2argvtest for usb-redir filter and update xml schema
Diffstat (limited to 'tests/qemuxml2argvtest.c')
-rw-r--r--tests/qemuxml2argvtest.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/qemuxml2argvtest.c b/tests/qemuxml2argvtest.c
index 47c3f6c53..15b52981a 100644
--- a/tests/qemuxml2argvtest.c
+++ b/tests/qemuxml2argvtest.c
@@ -676,6 +676,12 @@ mymain(void)
QEMU_CAPS_PCI_MULTIFUNCTION, QEMU_CAPS_USB_HUB,
QEMU_CAPS_ICH9_USB_EHCI1, QEMU_CAPS_USB_REDIR,
QEMU_CAPS_SPICE, QEMU_CAPS_CHARDEV_SPICEVMC);
+ DO_TEST("usb-redir-filter",
+ QEMU_CAPS_CHARDEV, QEMU_CAPS_DEVICE, QEMU_CAPS_NODEFCONFIG,
+ QEMU_CAPS_PCI_MULTIFUNCTION, QEMU_CAPS_USB_HUB,
+ QEMU_CAPS_ICH9_USB_EHCI1, QEMU_CAPS_USB_REDIR,
+ QEMU_CAPS_SPICE, QEMU_CAPS_CHARDEV_SPICEVMC,
+ QEMU_CAPS_USB_REDIR_FILTER);
DO_TEST("usb1-usb2",
QEMU_CAPS_CHARDEV, QEMU_CAPS_DEVICE, QEMU_CAPS_NODEFCONFIG,
QEMU_CAPS_PCI_MULTIFUNCTION, QEMU_CAPS_PIIX3_USB_UHCI,