print meaningful error message in case of --disable-vhost-net
When qemu gets compiled without support of vhost-net, any attemptto use it fails with a very clear error message:
qemu-system-x86_64: -netdev ...,vhost=on: vhost-net requested but could not be initialized...
virtio: compat event idx support
Disable event index for compat machine types.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
virtio: event index support
Add support for event_idx feature, and utilize it toreduce the number of interrupts and exits for the guest.
pci: Update pci_regs header
Pulls in latest version from kernel 3.0-rc2.
Some changes around AER now require local defines as QEMU accesses theerror source identification register via sub-words.
CC: Isaku Yamahata <yamahata@valinux.co.jp>Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>...
msix: Use replace local defines with pci_regs versions
This also cleans up an open-coded 64-bit message address readout.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/xio3130_upstream.c: convert to PCIDeviceInfo to initialize ids
use PCIDeviceInfo to initialize ids.
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
virtio-pci.c: convert to PCIDEviceInfo to initialize ids
virtio: guard against negative vq notifies
The virtio_queue_notify() function checks that the virtqueue number isless than the maximum number of virtqueues. A signed comparison is usedbut the virtqueue number could be negative if a buggy or malicious guest...
virtio: correctly initialize vm_running
Current vm_running was not explicitly initialized and its value was changed byvm state notifier, this may confuse the virtio device being hotplugged such asvirtio-net with vhost backend as it may think the vm was not running. Solve this...
msi: Fix copy&paste mistake in msi_uninit
View revisions
Also available in: Atom