vfio-user client
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest23 patches 14 repliesIn review
- v124 patches 57 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/23 | vfio-user: introduce vfio-user protocol specificationMAINTAINERS docs/ docs/ | +1529 | 0 replies | |
| 2/23 | vfio-user: add VFIO base abstract classhw/ hw/ | +78 | 0 replies | |
| 3/23 | vfio-user: add container IO ops vectorhw/ include/ | +110 | 2 replies | |
| 4/23 | vfio-user: add region cachehw/ hw/ hw/ +4 more | +51 | 0 replies | |
| 5/23 | vfio-user: add device IO ops vectorhw/ hw/ hw/ +3 more | +178 | 0 replies | |
| 6/23 | vfio-user: Define type vfio_user_pci_dev_infoMAINTAINERS hw/ hw/ +3 more | +148 | 0 replies | |
| 7/23 | vfio-user: connect vfio proxy to remote serverhw/ hw/ hw/ +2 more | +270 | 0 replies | |
| 8/23 | vfio-user: define socket receive functionshw/ hw/ hw/ +2 more | +486 | 0 replies | |
| 9/23 | vfio-user: define socket send functionshw/ hw/ hw/ +2 more | +601 | 0 replies | |
| 10/23 | vfio-user: get device infohw/ hw/ hw/ +4 more | +93 | 0 replies | |
| 11/23 | vfio-user: get region infohw/ hw/ hw/ +8 more | +123 | 1 reply | |
| 12/23 | vfio-user: region read/writehw/ hw/ hw/ +5 more | +154 | 4 replies | |
| 13/23 | vfio-user: pci_user_realize PCI setuphw/ hw/ hw/ | +203 | 0 replies | |
| 14/23 | vfio-user: get and set IRQshw/ hw/ hw/ +1 more | +169 | 0 replies | |
| 15/23 | vfio-user: forward msix BAR accesses to serverhw/ hw/ hw/ +4 more | +118 | 4 replies | |
| 16/23 | vfio-user: proxy container connect/disconnecthw/ hw/ hw/ +2 more | +237 | 0 replies | |
| 17/23 | vfio-user: dma map/unmap operationshw/ hw/ hw/ +2 more | +311 | 2 replies | |
| 18/23 | vfio-user: add dma_unmap_allhw/ hw/ include/ | +61 | 1 reply | |
| 19/23 | vfio-user: no-mmap DMA supporthw/ hw/ hw/ | +7 | 0 replies | |
| 20/23 | vfio-user: dma read/write operationshw/ hw/ hw/ +1 more | +181 | 0 replies | |
| 21/23 | vfio-user: pci resethw/ hw/ hw/ +2 more | +32 | 0 replies | |
| 22/23 | vfio-user: add 'x-msg-timeout' option that specifies msg wait timeshw/ hw/ hw/ | +9 | 0 replies | |
| 23/23 | vfio-user: add coalesced posted writeshw/ hw/ hw/ +1 more | +157 | 0 replies |
Reviews trailers per patch
1 of 23 patches has a Reviewed-by or Acked-by.
| Patch | Alex Williamson | Michael S. Tsirkin |
|---|---|---|
| 1/23 | ||
| 2/23 | ||
| 3/23 | ||
| 4/23 | ||
| 5/23 | ||
| 6/23 | ||
| 7/23 | ||
| 8/23 | ||
| 9/23 | ||
| 10/23 | ||
| 11/23 | ||
| 12/23 | ||
| 13/23 | ||
| 14/23 | ||
| 15/23 | ||
| 16/23 | ||
| 17/23 | A-b | R-b |
| 18/23 | ||
| 19/23 | ||
| 20/23 | ||
| 21/23 | ||
| 22/23 | ||
| 23/23 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 00/23] vfio-user client
Hello,
This is the 2nd patch revision of the vfio-user client implementation.
First of all, thank you for your time reviewing the previous versions.
The vfio-user framework consists of 3 parts:
1) The VFIO user protocol specification.
2) A client - the VFIO device in QEMU that encapsulates VFIO messages and sends them to the server.
3) A server - a remote process that emulates a device.
This patchset implements parts 1 and 2.
The libvfio-user project (https://github.com/nutanix/libvfio-user)
can be used by a remote process to handle the protocol to implement the third part. We also have upstreamed a patch series that implement a server using QEMU.
Contributors:
John G Johnson <[email protected]>
John Levon <[email protected]>
Thanos Makatos <[email protected]>
Elena Ufimtseva <[email protected]>
Jagannathan Raman <[email protected]>
Changes fron v1:
John Johnson (22):
vfio-user: add VFIO base abstract class
rename VFIOKernPCIDevice to VFIOKernelPCIDevice
vfio-user: add container IO ops vector
make vfio_cont_io_ioctl static
remove VFIOContIO CONT_* macros
rename VFIOContIO to VFIOContainerIO
rename VFIOContainer io_ops field to io
vfio-user: add region cache
none
vfio-user: add device IO ops vector
remove VFIODevIO VDEV_* macros
rename VFIODevIO to VFIODeviceIO
remove get_info operation from VFIODeviceIO
move short read/write check to patch 12
vfio-user: Define type vfio_user_pci_dev_info
removed reset tests
add user-pci.c file for PCI specific vfio-user code move pci.[ch] changes to user-pci.c
vfio-user: connect vfio proxy to remote server
rename VFIOProxy to VFIOUserProxy
propoagate error return from vfio_user_connect_dev() move pci.c changes to user-pci.c
vfio-user: define socket receive functions
vfio_user_process: fix function name in error case move pci.c changes to user-pci.c
vfio-user: define socket send functions
set message error in vfio_user_send_wait() on invalid flags use warn_report in caps_parse()
move pci.[ch] changes to user-pci.c
vfio-user: get device info
remove caps_offset from VFIOUserDeviceInfo add vfio_get_device() to user.c
change get_info operation to a vfio_get_device() call
typo: struct_device_info -> struct vfio_device_info move pci.c changes to user-pci.c
vfio-user: get region info
add use_regfds boolean to VFIODevice instead of testing proxy make vfio_user_get_region_info() return E2BIG on invalid argsz
typo: struct_vfio -> struct vfio
vfio-user: region read/write
add short read/write check from patch 05
move pci.c changes to user-pci.c
vfio-user: pci_user_realize PCI setup
add pci notifier calls from patch 14
add user_instance finalize code from patch 16
move pci.c changes to user-pci.c
vfio-user: get and set IRQs
move pci notifier calls to patch 13
vfio-user: forward msix BAR accesses to server
rename irq_mask_works to can_mask_irq
move pci.c changes to user-pci.c
vfio-user: proxy container connect/disconnect
refactor common IOMMU group code to be shared move user_instance finalize code to patch 13 add user.h prototypes for vfio_user_{get,put}_group() move common.c changes to user.c
move pci.c changes to user-pci.c
vfio-user: dma map/unmap operations
vfio-user: add dma_unmap_all
none
vfio-user: no-mmap DMA support
rename secure-dma to no-mmap
move pci.[ch] changes to user-pci.c
vfio-user: dma read/write operations
vfio_user_procss_req: fix function name in error case move pci.c changes to user-pci.c
vfio-user: pci reset
move pci.c changes to user-pci.c
vfio-user: add 'x-msg-timeout' option that specifies msg wait times
initialize wait_time directly from command line property list move pci.[ch] changes to user-pci.c
vfio-user: add coalesced posted writes
elaborated coalesced write usage in commit msg
Removed from v1:
vfio-user: add trace points
trace points distributed to other patches
Thanos Makatos (1):
vfio-user: introduce vfio-user protocol specification
docs/devel/index-internals.rst | 1 + docs/devel/vfio-user.rst | 1522 +++++++++++++++++++++++++++++ hw/vfio/pci.h | 35 +- hw/vfio/user-protocol.h | 243 +++++ hw/vfio/user.h | 116 +++ include/hw/vfio/vfio-common.h | 65 ++ hw/vfio/ap.c | 2 + hw/vfio/ccw.c | 8 +- hw/vfio/common.c | 548 ++++++++--- hw/vfio/igd.c | 23 +- hw/vfio/migration.c | 2 - hw/vfio/pci-quirks.c | 19 +- hw/vfio/pci.c | 557 ++++++----- hw/vfio/platform.c | 3 + hw/vfio/user-pci.c | 435 +++++++++ hw/vfio/user.c | 2057 ++++++++++++++++++++++++++++++++++++++++ MAINTAINERS | 9 + hw/vfio/Kconfig | 10 + hw/vfio/meson.build | 2 + hw/vfio/trace-events | 15 + 20 files changed, 5283 insertions(+), 389 deletions(-) create mode 100644 docs/devel/vfio-user.rst create mode 100644 hw/vfio/user-protocol.h create mode 100644 hw/vfio/user.h create mode 100644 hw/vfio/user-pci.c create mode 100644 hw/vfio/user.c
Signature · 1 line
1.9.4