[libvirt] [PATCH 1/2] Revert "qemucaps2xmltest: fix test to successfully run without kvm support"

Pavel Hrdina phrdina at redhat.com
Wed Mar 25 15:00:22 UTC 2015


This reverts commit 49bf09d16cb7050795f6963a2746d686a2fbaece.  That
commit is wrong and doesn't fix the issue.

Signed-off-by: Pavel Hrdina <phrdina at redhat.com>
---
 tests/qemucaps2xmltest.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/qemucaps2xmltest.c b/tests/qemucaps2xmltest.c
index 826f9ea..b3975b4 100644
--- a/tests/qemucaps2xmltest.c
+++ b/tests/qemucaps2xmltest.c
@@ -118,8 +118,8 @@ testGetCaps(char *capsData, const testQemuData *data)
     if (virQEMUCapsInitGuestFromBinary(caps,
                                        "/usr/bin/qemu-system-i386",
                                        qemuCaps,
-                                       "/usr/bin/qemu-system-i386",
-                                       qemuCaps,
+                                       NULL,
+                                       NULL,
                                        data->guestarch) < 0) {
         fprintf(stderr, "failed to create the capabilities from qemu");
         goto error;
-- 
2.0.5




More information about the libvir-list mailing list