<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div>Hello,</div><div>    I would like to enable vhost-net on an interface of ethernet type. However,</div><div>this doesn't work, probably due to the following code in libvirt.</div><div><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal; "><div style="background-color: transparent; ">            if (actualType == VIR_DOMAIN_NET_TYPE_NETWORK ||</div><div style="background-color: transparent; ">                actualType == VIR_DOMAIN_NET_TYPE_BRIDGE ||</div><div style="background-color: transparent; ">                actualType == VIR_DOMAIN_NET_TYPE_DIRECT) {</div><div style="background-color:
 transparent; ">                /* Attempt to use vhost-net mode for these types of</div><div style="background-color: transparent; ">                   network device */</div><div style="background-color: transparent; "><br></div><div><span style="background-color: transparent; ">Can VIR_DOMAIN_NET_TYPE_ETHERNET </span><span style="background-color: transparent; ">also be included in the check </span></div><div><span style="background-color: transparent; ">above? Or is there some reason to disable vhost-net for </span><span style="background-color: transparent; ">this type?</span></div><div><br></div><div>Thanks,</div><div><br></div><div>Raja</div></div></div></body></html>