From: Pavel Hrdina Date: Wed, 25 Mar 2015 14:17:13 +0000 (+0100) Subject: Revert "qemucaps2xmltest: fix test to successfully run without kvm support" X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=a894d61ba11473bd0f7beb77c2a1a7d4f5c31933;p=libvirt.git Revert "qemucaps2xmltest: fix test to successfully run without kvm support" This reverts commit 49bf09d16cb7050795f6963a2746d686a2fbaece. That commit is wrong and doesn't fix the issue. Signed-off-by: Pavel Hrdina --- diff --git a/tests/qemucaps2xmltest.c b/tests/qemucaps2xmltest.c index 826f9eaa57..b3975b4afe 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;