Fix xlconfigtest with older libxl

Commit cd5dc30 added this test, but it fails if
LIBXL_HAVE_BUILDINFO_USBDEVICE_LIST is not defined:

6) Xen XM-2-XML Format fullvirt-multiusb
... libvirt:  error : unsupported configuration: multiple USB
devices not supported
FAILED
This commit is contained in:
Ján Tomko 2015-04-02 14:57:54 +02:00
parent 1371ea92f0
commit b84c5729d9
1 changed files with 3 additions and 0 deletions

View File

@ -215,7 +215,10 @@ mymain(void)
DO_TEST("new-disk", 3);
DO_TEST("spice", 3);
#ifdef LIBXL_HAVE_BUILDINFO_USBDEVICE_LIST
DO_TEST("fullvirt-multiusb", 3);
#endif
virObjectUnref(caps);
virObjectUnref(xmlopt);