]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
qemu: don't require is_kvm for vhost-net support
authorLaine Stump <laine@laine.org>
Mon, 23 May 2011 16:59:41 +0000 (12:59 -0400)
committerLaine Stump <laine@laine.org>
Mon, 23 May 2011 19:59:31 +0000 (15:59 -0400)
commit17266c5c688c334eb31de26828c0e7371de7e8fc
treeca68b67328a900258ff6160f923d1fdfce27e2ea
parenta67407fa36623d44b0ebe8960e351f0b8a280d1e
qemu: don't require is_kvm for vhost-net support

This was discussed in:

  https://www.redhat.com/archives/libvir-list/2011-May/msg01370.html

The capabilities code only sets the flag to allow use of vhost-net if
kvm is detected (set if the help string contains "(qemu-kvm-" or
"(kvm-"), but actually vhost-net is available in some qemu builds that
don't have kvm in their name, so just checking for ",vhost=" is enough.
src/qemu/qemu_capabilities.c