Michael S. Tsirkin wrote:> 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.
>
What's your impression of how much work would be to get this going on
top of upstream QEMU?
I'm willing to borrow a few cycles to help out here. I'd really like to
see this series go in via QEMU if possible.
Regards,
Anthony Liguori
> 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
>