Re: [libvirt] RFC: exposing a config setting to force vhost-net support on/off

2011-01-07 Thread Laine Stump
On 01/07/2011 10:55 AM, Daniel P. Berrange wrote: On Wed, Jan 05, 2011 at 09:57:42AM -0500, Laine Stump wrote: On 01/05/2011 05:19 AM, Daniel P. Berrange wrote: We should try to keep terminology matching the disk so I think with omission of resulting in us automatically adding either 'q

Re: [libvirt] RFC: exposing a config setting to force vhost-net support on/off

2011-01-07 Thread Daniel P. Berrange
On Wed, Jan 05, 2011 at 09:57:42AM -0500, Laine Stump wrote: > On 01/05/2011 05:19 AM, Daniel P. Berrange wrote: > > > >We should try to keep terminology matching the disk > >so I think > > > > > > > >with omission of resulting in us automatically > >adding either 'qemu' or 'vhost' to the XML.

Re: [libvirt] RFC: exposing a config setting to force vhost-net support on/off

2011-01-05 Thread Laine Stump
On 01/05/2011 05:19 AM, Daniel P. Berrange wrote: We should try to keep terminology matching the disk so I think with omission of resulting in us automatically adding either 'qemu' or 'vhost' to the XML. We don't want to have an explicit 'default' value in the XML, because users should be

Re: [libvirt] RFC: exposing a config setting to force vhost-net support on/off

2011-01-05 Thread Daniel P. Berrange
On Tue, Jan 04, 2011 at 02:37:15PM -0500, Laine Stump wrote: > There's a request to allow libvirt to explicitly turn on/off the new > vhost-net feature of virtio network cards. I see a few ways to do > it, and am looking for opinions on which is best. > > (For the uninitiated, vhost-net is a new k

Re: [libvirt] RFC: exposing a config setting to force vhost-net support on/off

2011-01-04 Thread Chris Wright
* Laine Stump (la...@laine.org) wrote: > 2) Another possibility would be to define a new sub-element of, > called "", similar >to what's done in the storage device XML. In the future, other backend > driver-related items could be placed there: > > > > > > (or

Re: [libvirt] RFC: exposing a config setting to force vhost-net support on/off

2011-01-04 Thread Eric Blake
On 01/04/2011 12:37 PM, Laine Stump wrote: > It's simple enough to put a bit of extra logic at the point where we > make that decision. I see 3 possibilities: > > 1) default - use vhost-net if it's loaded, don't if it isn't (current > behavior) > > 2) require - use vhost-net if it's loaded, and r

[libvirt] RFC: exposing a config setting to force vhost-net support on/off

2011-01-04 Thread Laine Stump
There's a request to allow libvirt to explicitly turn on/off the new vhost-net feature of virtio network cards. I see a few ways to do it, and am looking for opinions on which is best. (For the uninitiated, vhost-net is a new kernel-based virtio implementation that saves the overhead of having