]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
qemucaps2xmltest: fix test to successfully run without kvm support
authorPavel Hrdina <phrdina@redhat.com>
Wed, 25 Mar 2015 09:40:57 +0000 (10:40 +0100)
committerPavel Hrdina <phrdina@redhat.com>
Wed, 25 Mar 2015 11:28:56 +0000 (12:28 +0100)
commit49bf09d16cb7050795f6963a2746d686a2fbaece
tree98ba5a65b0bccf65b7d53a9126fcc172b7c0e33c
parent726072f0d23f842a60399fcccbd76240d8f22da4
qemucaps2xmltest: fix test to successfully run without kvm support

Function virQEMUCapsInitGuestFromBinary detect kvm support by testing
whether /dev/kvm exists or whether we pass path to kvmbin.  Provide the
path we are testing via kvmbin for testing purpose instead of detecting
presence of /dev/kvm to successfully run the tests on all hosts.

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