[libvirt] [PATCH 2/8] tests/qemuxml2xmltest: remove NOP call of virQEMUCapsSetList

Pavel Hrdina posted 8 patches 8 years, 10 months ago
Only 7 patches received!
[libvirt] [PATCH 2/8] tests/qemuxml2xmltest: remove NOP call of virQEMUCapsSetList
Posted by Pavel Hrdina 8 years, 10 months ago
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 | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/tests/qemuxml2xmltest.c b/tests/qemuxml2xmltest.c
index 252f1ed5f2..579328912a 100644
--- a/tests/qemuxml2xmltest.c
+++ b/tests/qemuxml2xmltest.c
@@ -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;
 
-- 
2.12.2

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list