]> xenbits.xensource.com Git - libvirt.git/commitdiff
tests/qemuxml2xmltest: remove NOP call of virQEMUCapsSetList
authorPavel Hrdina <phrdina@redhat.com>
Mon, 19 Dec 2016 22:26:10 +0000 (23:26 +0100)
committerPavel Hrdina <phrdina@redhat.com>
Tue, 11 Apr 2017 12:06:47 +0000 (14:06 +0200)
Commit 5572cd7f0e9e deprecated QEMU_CAPS_DEVICE capability but forgot
to remove this call as well.

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
tests/qemuxml2xmltest.c

index 252f1ed5f2a86c6adccbfd5f2fbbb9d4b9f19941..579328912a68db109af3c27a0279350e6c7f5a64 100644 (file)
@@ -254,9 +254,6 @@ testInfoSet(struct testInfo *info,
     if (!(info->qemuCaps = virQEMUCapsNew()))
         goto error;
 
-    virQEMUCapsSetList(info->qemuCaps,
-                       QEMU_CAPS_LAST);
-
     if (testQemuCapsSetGIC(info->qemuCaps, gic) < 0)
         goto error;