From: Laine Stump <laine@laine.org>
To: libvir-list@redhat.com
Sent: Thursday, December 13, 2012 6:23 PM
Subject: Re: [libvirt] vhost-net on ethernet interface type
On 12/13/2012 07:05 PM, Raja Sivaramakrishnan wrote:
> Hello,
> I would like to enable vhost-net on an interface of ethernet type.
> However,
> this doesn't work, probably due to the following code in libvirt.
>
> if (actualType == VIR_DOMAIN_NET_TYPE_NETWORK ||
> actualType == VIR_DOMAIN_NET_TYPE_BRIDGE ||
> actualType == VIR_DOMAIN_NET_TYPE_DIRECT) {
> /* Attempt to use vhost-net mode for these types of
> network device */
>
> Can VIR_DOMAIN_NET_TYPE_ETHERNET also be included in the check
> above? Or is there some reason to disable vhost-net for this type?
I'm not sure if there
would be any problem or not; on the surface it
seems not. If you're able to build from sources, try it out and, if it
works, send a patch (or at least report back here and someone else can
make the patch).
--
libvir-list mailing list
libvir-list@redhat.comhttps://www.redhat.com/mailman/listinfo/libvir-list