Skip to content

vfio/pci: MSI-X MMIO relocation

Alex Williamson qemu-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest5 patches 7 repliesIn review
  2. v15 patches 13 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5vfio/pci: Fixup VFIOMSIXInfo commenthw/vfio/pci.h+1 -10 replies
2/5vfio/pci: Add base BAR MemoryRegionhw/vfio/pci.c hw/vfio/pci.h+60 -171 reply
3/5vfio/pci: Emulate BARshw/vfio/pci.c+2 -00 replies
4/5qapi: Create DEFINE_PROP_OFF_AUTO_PCIBARhw/core/qdev-properties.c include/hw/qdev-properties.h qapi/common.json+41 -02 replies
5/5vfio/pci: Allow relocating MSI-X MMIOhw/vfio/pci.c hw/vfio/pci.h hw/vfio/trace-events+103 -13 replies

Reviews trailers per patch

1 of 5 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchAlexey KardashevskiyEric AugerMarkus Armbruster
SeriesT-b R-b T-b
1/5
2/5
3/5
4/5R-b
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v2 thread

Cover letter [Qemu-devel] [PATCH v2 0/5] vfio/pci: MSI-X MMIO relocation

v1: https://lists.gnu.org/archive/html/qemu-devel/2017-12/msg03350.html

See patch 5/5 for a thorough description. v2 changes the 'auto' behavior as we've determined that there's no algorithm which has even a likely chance of success. Instead, auto is now a placeholder for a device/platform lookup for known good combinations (though if I'm pessimistic, even that might depend on guest and driver versions). Thanks,

Alex

---

Alex Williamson (5):
vfio/pci: Fixup VFIOMSIXInfo comment
vfio/pci: Add base BAR MemoryRegion
vfio/pci: Emulate BARs
qapi: Create DEFINE_PROP_OFF_AUTO_PCIBAR
vfio/pci: Allow relocating MSI-X MMIO

 hw/core/qdev-properties.c    |   11 +++
 hw/vfio/pci.c                |  175 ++++++++++++++++++++++++++++++++++++++----
 hw/vfio/pci.h                |    6 +
 hw/vfio/trace-events         |    2 
 include/hw/qdev-properties.h |    4 +
 qapi/common.json             |   26 ++++++
 6 files changed, 206 insertions(+), 18 deletions(-)