[libvirt] [PATCH] Add XML config switch to enable/disable vhost-net support
Eric Blake
eblake at redhat.com
Tue Mar 8 23:23:42 UTC 2011
On 01/13/2011 01:59 PM, Eric Blake wrote:
>> This patch makes it possible to force whether or not vhost-net is used
>> with a bit of XML. Adding a <driver> element to the interface XML, eg:
>>
>> <interface type="network">
>> <model type="virtio"/>
>> <driver name="vhost"/>
>>
>> will force use of vhost-net (if it's not available, the domain will
>> fail to start). if driver name="qemu", vhost-net will not be used even
>> if it is available.
>>
>> If there is no <driver name='xxx'/> in the config, libvirt will revert
>> to the pre-existing automatic behavior - use vhost-net if it's
>> available, and userland backend if vhost-net isn't available.
>>
>> Oh, and also - sorry Eric, but I didn't have the brain cells left
>> tonight to add this new bit to the documentation, and I really want to
>> get the patch up/in now, so that will have to wait for a followup next
>> week :-)
>
> I'll have to live with that, but come closer to the 0.8.8 release date,
> watch for the reminders if you haven't followed through :)
One of those friendly reminders, since I was looking for that
documentation today and missed having it.
--
Eric Blake eblake at redhat.com +1-801-349-2682
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20110308/b4b2397e/attachment-0001.sig>
More information about the libvir-list
mailing list