Re: vhost-net configuration

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

 



On 05/20/2011 12:15 PM, Cal Heldenbrand wrote:
Hi everyone,

I'm trying to test out the virtio driver's "tx=bh" option, or iothread in libvirt. When I create a machine, I get the "unsupported" error message:

# virsh create web101.xml
error: Failed to create domain from web101.xml
error: unsupported configuration: vhost-net is not supported with this QEMU binary

First look in /var/log/libvirt/qemu/<domainname>.log and see which qemu binary is being executed by libvirt - it may not be the one you've built.

Then, run "qemu-kvm --help" (replacing "qemu-kvm" with the path to the binary that libvirt is executing, found in the previous paragraph), and search through that output for the string ",vhost=" - if it's not there, then your qemu doesn't support vhost-net.

If that string *is* there, then we need to do some more investigating, starting with you sending the output of "qemu-kvm --help".



My interface XML looks like this:

<interface type='bridge'>
<mac address='52:54:00:6f:51:43'/>
<source bridge='vnet0'/>
<model type='virtio'/>
<driver name='vhost' txmode='iothread'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
</interface>


I've compiled libvirt (0.9.1) and QEMU (0.14.1) from source, but am still using my distro's kernel, 2.6.32-71.29.1.el6.x86_64. (Scientific Linux 6)

Thanks, and please let me know if you need any more info!

--Cal


--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]