qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v12 00/14] vfio-user server in QEMU
@ 2022-06-13 20:26 Jagannathan Raman
  2022-06-13 20:26 ` [PATCH v12 01/14] qdev: unplug blocker for devices Jagannathan Raman
                   ` (14 more replies)
  0 siblings, 15 replies; 20+ messages in thread
From: Jagannathan Raman @ 2022-06-13 20:26 UTC (permalink / raw)
  To: qemu-devel
  Cc: stefanha, mst, alex.williamson, f4bug, pbonzini, marcandre.lureau,
	thuth, bleal, berrange, peter.maydell, eduardo, marcel.apfelbaum,
	eblake, armbru, quintela, dgilbert, imammedo, peterx, john.levon,
	thanos.makatos, elena.ufimtseva, john.g.johnson, kanth.ghatraju,
	jag.raman

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

-- 
2.20.1



^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2022-06-15  8:38 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-13 20:26 [PATCH v12 00/14] vfio-user server in QEMU Jagannathan Raman
2022-06-13 20:26 ` [PATCH v12 01/14] qdev: unplug blocker for devices Jagannathan Raman
2022-06-13 20:26 ` [PATCH v12 02/14] remote/machine: add HotplugHandler for remote machine Jagannathan Raman
2022-06-13 20:26 ` [PATCH v12 03/14] remote/machine: add vfio-user property Jagannathan Raman
2022-06-13 20:26 ` [PATCH v12 04/14] vfio-user: build library Jagannathan Raman
2022-06-13 20:26 ` [PATCH v12 05/14] vfio-user: define vfio-user-server object Jagannathan Raman
2022-06-13 20:26 ` [PATCH v12 06/14] vfio-user: instantiate vfio-user context Jagannathan Raman
2022-06-13 20:26 ` [PATCH v12 07/14] vfio-user: find and init PCI device Jagannathan Raman
2022-06-13 20:26 ` [PATCH v12 08/14] vfio-user: run vfio-user context Jagannathan Raman
2022-06-13 20:26 ` [PATCH v12 09/14] vfio-user: handle PCI config space accesses Jagannathan Raman
2022-06-13 20:26 ` [PATCH v12 10/14] vfio-user: IOMMU support for remote device Jagannathan Raman
2022-06-13 20:26 ` [PATCH v12 11/14] vfio-user: handle DMA mappings Jagannathan Raman
2022-06-13 20:26 ` [PATCH v12 12/14] vfio-user: handle PCI BAR accesses Jagannathan Raman
2022-06-13 20:26 ` [PATCH v12 13/14] vfio-user: handle device interrupts Jagannathan Raman
2022-06-14  6:56   ` Stefan Hajnoczi
2022-06-13 20:26 ` [PATCH v12 14/14] vfio-user: handle reset of remote device Jagannathan Raman
2022-06-14  7:06 ` [PATCH v12 00/14] vfio-user server in QEMU Stefan Hajnoczi
2022-06-14 14:37   ` Jag Raman
2022-06-14 16:27     ` Stefan Hajnoczi
2022-06-15  8:21       ` Stefan Hajnoczi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).