virtio: event index support
Add support for event_idx feature, and utilize it toreduce the number of interrupts and exits for the guest.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
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/wdt_i6300esb.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>
hw/xio3130_downstream.c: convert to PCIDeviceInfo to initialize ids
hw/xio3130_upstream.c: convert to PCIDeviceInfo to initialize ids
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