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

Daniel P. Berrange berrange at redhat.com
Thu Jul 24 08:31:39 UTC 2014


On Thu, Jul 24, 2014 at 08:42:47AM +0500, Asadullah Hussain wrote:
> Thanks Wangkai but libvirt infact pre-configures network tap devices and
> pre-opens /dev/vhost-net file and passes these to qemu as open, ready to
> use file descriptors.
> 
> My issue is that my qemu requires that /dev/vhost-net directory is removed
> and it's kernel module be unloaded. Then it creates a vhost -net device
> using its own configuration.

Libvirt is only written to work against official upstream QEMU. If you
have modified your QEMU to work in a different way wrt net devices then
you'll have to modify your libvirt to cope or workaround the problems.

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