[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH RFC server v2 00/11] vfio-user server in QEMU
From: |
Jagannathan Raman |
Subject: |
[PATCH RFC server v2 00/11] vfio-user server in QEMU |
Date: |
Fri, 27 Aug 2021 13:53:19 -0400 |
Hi,
This series depends on the following series from
Elena Ufimtseva <elena.ufimtseva@oracle.com>:
[PATCH RFC v2 00/16] vfio-user implementation
Thank you for your feedback for the v1 patches!
https://www.mail-archive.com/qemu-devel@nongnu.org/msg825021.html
We have incorporated the following feedback from v1 of the
review cycle:
[PATCH RFC server v2 01/11] vfio-user: build library
- Using cmake subproject to build libvfio-user
[PATCH RFC server v2 02/11] vfio-user: define vfio-user object
- Added check to confirm that TYPE_REMOTE_MACHINE is used
with TYPE_VFU_OBJECT
[PATCH RFC server v2 04/11] vfio-user: find and init PCI device
- Removed call to vfu_pci_set_id()
- Added check to confirm that TYPE_PCI_DEVICE is used with
TYPE_VFU_OBJECT
[PATCH RFC server v2 05/11] vfio-user: run vfio-user context
- Using QEMU main-loop to drive the vfu_ctx (using
vfu_get_poll_fd() & qemu_set_fd_handler())
- Set vfu_ctx to non-blocking mode (LIBVFIO_USER_FLAG_ATTACH_NB)
- Modified how QEMU attaches to the vfu_ctx
[PATCH RFC server v2 06/11] handle PCI config space accesses
- Broke-up PCI config space access to 4-byte accesses
[PATCH RFC server v2 07/11] vfio-user: handle DMA mappings
- Received feedback to assert that vfu_dma_info_t->vaddr is not
NULL - unable to do it as it appears to be a valid case.
[PATCH RFC server v2 10/11] register handlers to facilitate migration
- Migrate only one device's data per contect
Would appreciate if you could kindly review this v2 series. Looking
forward to your comments.
Thank you!
Jagannathan Raman (11):
vfio-user: build library
vfio-user: define vfio-user 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: handle DMA mappings
vfio-user: handle PCI BAR accesses
vfio-user: handle device interrupts
vfio-user: register handlers to facilitate migration
vfio-user: acceptance test
configure | 11 +
meson.build | 28 ++
qapi/qom.json | 20 +-
include/hw/remote/iohub.h | 2 +
migration/savevm.h | 2 +
hw/remote/iohub.c | 5 +
hw/remote/vfio-user-obj.c | 803 ++++++++++++++++++++++++++++++++++++++++++
migration/savevm.c | 73 ++++
.gitmodules | 3 +
MAINTAINERS | 9 +
hw/remote/meson.build | 3 +
hw/remote/trace-events | 10 +
subprojects/libvfio-user | 1 +
tests/acceptance/vfio-user.py | 94 +++++
14 files changed, 1062 insertions(+), 2 deletions(-)
create mode 100644 hw/remote/vfio-user-obj.c
create mode 160000 subprojects/libvfio-user
create mode 100644 tests/acceptance/vfio-user.py
--
1.8.3.1
- [PATCH RFC v2 09/16] vfio-user: region read/write, (continued)
- [PATCH RFC v2 13/16] vfio-user: dma map/unmap operations, Elena Ufimtseva, 2021/08/16
- [PATCH RFC v2 16/16] vfio-user: migration support, Elena Ufimtseva, 2021/08/16
- [PATCH RFC server v2 00/11] vfio-user server in QEMU,
Jagannathan Raman <=
- [PATCH RFC server v2 01/11] vfio-user: build library, Jagannathan Raman, 2021/08/27
- [PATCH RFC server v2 02/11] vfio-user: define vfio-user object, Jagannathan Raman, 2021/08/27
- [PATCH RFC server v2 03/11] vfio-user: instantiate vfio-user context, Jagannathan Raman, 2021/08/27
- [PATCH RFC server v2 04/11] vfio-user: find and init PCI device, Jagannathan Raman, 2021/08/27
- [PATCH RFC server v2 05/11] vfio-user: run vfio-user context, Jagannathan Raman, 2021/08/27
- [PATCH RFC server v2 07/11] vfio-user: handle DMA mappings, Jagannathan Raman, 2021/08/27
- [PATCH RFC server v2 06/11] vfio-user: handle PCI config space accesses, Jagannathan Raman, 2021/08/27
- [PATCH RFC server v2 08/11] vfio-user: handle PCI BAR accesses, Jagannathan Raman, 2021/08/27
- [PATCH RFC server v2 09/11] vfio-user: handle device interrupts, Jagannathan Raman, 2021/08/27