[PATCH RFC 0/2] qemu-kvm: MSI-X support

Michael S. Tsirkin
Mon, 11 May 2009 22:13:50 -0000

Here's a draft MSI-X support patch. Among missing features:
save/load support, and command-line flag to control the
feature. This is on top of qemu-kvm: msi-x is disabled
without kvm interrupt injection support for now.

Michael S. Tsirkin (2):
  qemu-kvm: add MSI-X support
  qemu-kvm: use common code for assigned msix

 Makefile.target        |    2 +-
 hw/device-assignment.c |  336 +++++++++++---------------------------------
 hw/device-assignment.h |    8 +-
 hw/msix.c              |  371 ++++++++++++++++++++++++++++++++++++++++++++++++
 hw/msix.h              |   33 +++++
 hw/pci.c               |   35 ++++--
 hw/pci.h               |   57 +++++++-
 hw/virtio-balloon.c    |    2 +-
 hw/virtio-blk.c        |    3 +-
 hw/virtio-console.c    |    3 +-
 hw/virtio-net.c        |    3 +-
 hw/virtio.c            |  167 +++++++++++++++++-----
 hw/virtio.h            |    4 +-
 13 files changed, 709 insertions(+), 315 deletions(-)
 create mode 100644 hw/msix.c
 create mode 100644 hw/msix.h