[libvirt-users] vhost-net requested but could not be initialized

Daniel P. Berrange berrange at redhat.com
Thu Jul 24 10:52:11 UTC 2014


On Thu, Jul 24, 2014 at 03:48:06PM +0500, Asadullah Hussain wrote:
> Let me clarify my question, I am using unmodified stock qemu (1.4.0) and
> only the location of vhost file descriptor is different from default (I
> don't remove the default /dev/vhost-net directory)
> 
> The VHOST file descriptor is present in "/dev/vhost-0" directory instead of
> the default "/dev/vhost-net". When I try to give vhostfd in the XML I get a
> different error:

Well I suggest you make your system use the expected device
name for /dev/vhost-net. Just as libvirt only targets mainline
QEMU, we only target mainline kernel / standard device layout

Regards,
Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|




More information about the libvirt-users mailing list