]> xenbits.xensource.com Git - libvirt.git/commitdiff
Revert "qemucaps2xmltest: fix test to successfully run without kvm support"
authorPavel Hrdina <phrdina@redhat.com>
Wed, 25 Mar 2015 14:17:13 +0000 (15:17 +0100)
committerPavel Hrdina <phrdina@redhat.com>
Fri, 27 Mar 2015 15:55:33 +0000 (16:55 +0100)
This reverts commit 49bf09d16cb7050795f6963a2746d686a2fbaece.  That
commit is wrong and doesn't fix the issue.

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

index 826f9eaa576a274cdd6af385971839e83f9d0be8..b3975b4afee360bb52fe93ba991e35526283cf7a 100644 (file)
@@ -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;