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

Pavel Hrdina phrdina at redhat.com
Fri Apr 7 13:44:17 UTC 2017


Commit 5572cd7f0e9e deprecated QEMU_CAPS_DEVICE capability but forgot
to remove this call as well.

Signed-off-by: Pavel Hrdina <phrdina at 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




More information about the libvir-list mailing list