Skip to content

vfio-user server in QEMU

Jagannathan Raman qemu-devel 12 versions – Applied

Status from this message: Thanks, applied to my block tree:

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v12 Latest14 patches 5 repliesApplied
  2. v1114 patches 1 replySuperseded
  3. v1014 patches 18 repliesSuperseded
Earlier versions · 9
VersionPostedPatchesRepliesStatus
v917 patches30 repliesSuperseded
v817 patches28 repliesSuperseded
v717 patches26 repliesSuperseded
v619 patches56 repliesSuperseded
v518 patches80 repliesSuperseded
v414 patches34 repliesSuperseded
v312 patches31 repliesSuperseded
v2 RFC11 patches31 repliesSuperseded
v1 RFC11 patches14 repliesSuperseded

Patches in v12 Applied

#Subject and filesSizeRepliesApplied
1/14qdev: unplug blocker for deviceshw/core/qdev.c include/hw/qdev-core.h softmmu/qdev-monitor.c+57 -00 replies
2/14remote/machine: add HotplugHandler for remote machinehw/remote/machine.c+10 -00 replies
3/14remote/machine: add vfio-user propertyhw/remote/machine.c include/hw/remote/machine.h+25 -00 replies
4/14vfio-user: build library.gitlab-ci.d/buildtest.yml .gitmodules Kconfig.host +8 more+59 -10 replies
5/14vfio-user: define vfio-user-server objectMAINTAINERS hw/remote/machine.c hw/remote/meson.build +4 more+262 -20 replies
6/14vfio-user: instantiate vfio-user contexthw/remote/vfio-user-obj.c+82 -00 replies
7/14vfio-user: find and init PCI devicehw/remote/vfio-user-obj.c+67 -00 replies
8/14vfio-user: run vfio-user contexthw/remote/vfio-user-obj.c qapi/misc.json+148 -10 replies
9/14vfio-user: handle PCI config space accesseshw/remote/trace-events hw/remote/vfio-user-obj.c+53 -00 replies
10/14vfio-user: IOMMU support for remote deviceMAINTAINERS hw/remote/iommu.c hw/remote/machine.c +2 more+186 -10 replies
11/14vfio-user: handle DMA mappingshw/remote/machine.c hw/remote/trace-events hw/remote/vfio-user-obj.c+62 -00 replies
12/14vfio-user: handle PCI BAR accesseshw/remote/trace-events hw/remote/vfio-user-obj.c include/exec/memory.h +2 more+203 -60 replies
13/14vfio-user: handle device interruptsMAINTAINERS hw/pci/msi.c hw/pci/msix.c +10 more+297 -111 reply
14/14vfio-user: handle reset of remote devicehw/remote/vfio-user-obj.c+20 -00 replies

Reviews trailers per patch

All 14 patches have a Reviewed-by or Acked-by.

PatchStefan Hajnoczi
1/14R-b
2/14R-b
3/14R-b
4/14R-b
5/14R-b
6/14R-b
7/14R-b
8/14R-b
9/14R-b
10/14R-b
11/14R-b
12/14R-b
13/14R-b
14/14R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v12 thread

Cover letter [PATCH v12 00/14] vfio-user server in QEMU

This is v12 of the server side changes to enable vfio-user in QEMU.

Thanks so much for reviewing this series and sharing your feedback.

We made the following changes in this series:
[PATCH v12 13/14] vfio-user: handle device interrupts
- Renamed msi_set_irq_state() and msix_set_irq_state() as msi_set_mask() and msix_set_mask() respectively
- Added missing return statement for error case in msi_set_mask()

Thank you very much!

Jagannathan Raman (14):
qdev: unplug blocker for devices remote/machine: add HotplugHandler for remote machine remote/machine: add vfio-user property
vfio-user: build library
vfio-user: define vfio-user-server object
vfio-user: instantiate vfio-user context
vfio-user: find and init PCI device
vfio-user: run vfio-user context
vfio-user: handle PCI config space accesses
vfio-user: IOMMU support for remote device
vfio-user: handle DMA mappings
vfio-user: handle PCI BAR accesses
vfio-user: handle device interrupts
vfio-user: handle reset of remote device

 configure                               |  17 +
 meson.build                             |  23 +-
 qapi/misc.json                          |  31 +
 qapi/qom.json                           |  20 +-
 include/exec/memory.h                   |   3 +
 include/hw/pci/msi.h                    |   1 +
 include/hw/pci/msix.h                   |   1 +
 include/hw/pci/pci.h                    |  13 +
 include/hw/qdev-core.h                  |  29 +
 include/hw/remote/iommu.h               |  40 +
 include/hw/remote/machine.h             |   4 +
 include/hw/remote/vfio-user-obj.h       |   6 +
 hw/core/qdev.c                          |  24 +
 hw/pci/msi.c                            |  49 +-
 hw/pci/msix.c                           |  35 +-
 hw/pci/pci.c                            |  13 +
 hw/remote/iommu.c                       | 131 ++++
 hw/remote/machine.c                     |  88 ++-
 hw/remote/vfio-user-obj.c               | 958 ++++++++++++++++++++++++
 softmmu/physmem.c                       |   4 +-
 softmmu/qdev-monitor.c                  |   4 +
 stubs/vfio-user-obj.c                   |   6 +
 tests/qtest/fuzz/generic_fuzz.c         |   9 +-
 .gitlab-ci.d/buildtest.yml              |   1 +
 .gitmodules                             |   3 +
 Kconfig.host                            |   4 +
 MAINTAINERS                             |   5 +
 hw/remote/Kconfig                       |   4 +
 hw/remote/meson.build                   |   4 +
 hw/remote/trace-events                  |  11 +
 meson_options.txt                       |   2 +
 stubs/meson.build                       |   1 +
 subprojects/libvfio-user                |   1 +
 tests/docker/dockerfiles/centos8.docker |   2 +
 34 files changed, 1528 insertions(+), 19 deletions(-)
 create mode 100644 include/hw/remote/iommu.h
 create mode 100644 include/hw/remote/vfio-user-obj.h
 create mode 100644 hw/remote/iommu.c
 create mode 100644 hw/remote/vfio-user-obj.c
 create mode 100644 stubs/vfio-user-obj.c
 create mode 160000 subprojects/libvfio-user
Signature · 1 line
2.20.1