[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



* Laine Stump (laine laine org) wrote:
> 2) Another possibility would be to define a new sub-element of<interface>, called "<driver>", similar
>    to what's done in the storage device XML. In the future, other backend driver-related items could be placed there:
> 
>   <devices>
>     <interface type='network'>
>       <source network='default'/>
>       <model type='virtio'/>
>       <driver vhost='default|require|disable'/>   (or "mode='default|kernel|user'")
>     </interface>
>   </devices>
> 
> 3) A third method, which might make the XML file look less ugly if, in the future, there were *many*
>    more configurable items for interface backends (this one was inspired by the<memtune>  element):
> 
>   <devices>
>     <interface type='network'>
>       <source network='default'/>
>       <model type='virtio'/>
>       <driver>
>         <vhost>default|require|disable</vhost>
>       </driver>
>    </interface>
>   </devices>

Either of these seems useful, perhaps the name <parameters>.  There's
already other tunable parameters that could conceivably be exposed here.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]