qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Cédric Le Goater" <clg@redhat.com>
To: John Levon <john.levon@nutanix.com>, qemu-devel@nongnu.org
Cc: "Marc-André Lureau" <marcandre.lureau@redhat.com>,
	"Daniel P. Berrangé" <berrange@redhat.com>,
	"Thanos Makatos" <thanos.makatos@nutanix.com>,
	"Paolo Bonzini" <pbonzini@redhat.com>,
	"Alex Williamson" <alex.williamson@redhat.com>,
	"Philippe Mathieu-Daudé" <philmd@linaro.org>
Subject: Re: [PATCH v5 00/19] vfio-user client
Date: Thu, 26 Jun 2025 09:12:50 +0200	[thread overview]
Message-ID: <0398b04a-7fa6-498e-a674-619de2227b11@redhat.com> (raw)
In-Reply-To: <20250625193012.2316242-1-john.levon@nutanix.com>

On 6/25/25 21:29, John Levon wrote:
> The series contains an implementation of a vfio-user client in QEMU.
> 
> The vfio-user protocol allows for implementing (PCI) devices in another
> userspace process; SPDK is one example, which includes a virtual NVMe
> implementation.
> 
> 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.
> 
> It has been tested against libvfio-user test servers as well as SPDK.
> A functional test is still being worked on.
> 
> A previous version of this series can be found at
> https://lore.kernel.org/qemu-devel/20250619133154.264786-1-john.levon@nutanix.com/
> 
> Changes since last series:
> 
>   - fixed SPDX identifier nits
>   - code review changes for error handling
> 
> thanks
> john
> 
> John Levon (18):
>    vfio-user: add vfio-user class and container
>    vfio-user: connect vfio proxy to remote server
>    vfio-user: implement message receive infrastructure
>    vfio-user: implement message send infrastructure
>    vfio-user: implement VFIO_USER_DEVICE_GET_INFO
>    vfio-user: implement VFIO_USER_DEVICE_GET_REGION_INFO
>    vfio-user: implement VFIO_USER_REGION_READ/WRITE
>    vfio-user: set up PCI in vfio_user_pci_realize()
>    vfio-user: implement VFIO_USER_DEVICE_GET/SET_IRQ*
>    vfio-user: forward MSI-X PBA BAR accesses to server
>    vfio-user: set up container access to the proxy
>    vfio-user: implement VFIO_USER_DEVICE_RESET
>    vfio-user: implement VFIO_USER_DMA_MAP/UNMAP
>    vfio-user: implement VFIO_USER_DMA_READ/WRITE
>    vfio-user: add 'x-msg-timeout' option
>    vfio-user: support posted writes
>    vfio-user: add coalesced posted writes
>    docs: add vfio-user documentation
> 
> Thanos Makatos (1):
>    vfio-user: introduce vfio-user protocol specification
> 
>   MAINTAINERS                           |   11 +-
>   docs/interop/index.rst                |    1 +
>   docs/interop/vfio-user.rst            | 1520 +++++++++++++++++++++++++
>   docs/system/device-emulation.rst      |    1 +
>   docs/system/devices/vfio-user.rst     |   26 +
>   meson.build                           |    1 +
>   hw/vfio-user/container.h              |   23 +
>   hw/vfio-user/device.h                 |   24 +
>   hw/vfio-user/protocol.h               |  242 ++++
>   hw/vfio-user/proxy.h                  |  135 +++
>   hw/vfio-user/trace.h                  |    4 +
>   hw/vfio/pci.h                         |    1 +
>   include/hw/vfio/vfio-container-base.h |    1 +
>   include/hw/vfio/vfio-device.h         |    2 +
>   hw/vfio-user/container.c              |  370 ++++++
>   hw/vfio-user/device.c                 |  441 +++++++
>   hw/vfio-user/pci.c                    |  475 ++++++++
>   hw/vfio-user/proxy.c                  | 1356 ++++++++++++++++++++++
>   hw/Kconfig                            |    1 +
>   hw/meson.build                        |    1 +
>   hw/vfio-user/Kconfig                  |    7 +
>   hw/vfio-user/meson.build              |   11 +
>   hw/vfio-user/trace-events             |   20 +
>   23 files changed, 4673 insertions(+), 1 deletion(-)
>   create mode 100644 docs/interop/vfio-user.rst
>   create mode 100644 docs/system/devices/vfio-user.rst
>   create mode 100644 hw/vfio-user/container.h
>   create mode 100644 hw/vfio-user/device.h
>   create mode 100644 hw/vfio-user/protocol.h
>   create mode 100644 hw/vfio-user/proxy.h
>   create mode 100644 hw/vfio-user/trace.h
>   create mode 100644 hw/vfio-user/container.c
>   create mode 100644 hw/vfio-user/device.c
>   create mode 100644 hw/vfio-user/pci.c
>   create mode 100644 hw/vfio-user/proxy.c
>   create mode 100644 hw/vfio-user/Kconfig
>   create mode 100644 hw/vfio-user/meson.build
>   create mode 100644 hw/vfio-user/trace-events
> 


Applied to vfio-next.

Thanks,

C.





      parent reply	other threads:[~2025-06-26  7:14 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-06-25 19:29 [PATCH v5 00/19] vfio-user client John Levon
2025-06-25 19:29 ` [PATCH v5 01/19] vfio-user: add vfio-user class and container John Levon
2025-06-26  6:32   ` Cédric Le Goater
2025-07-02  9:40   ` Cédric Le Goater
2025-06-25 19:29 ` [PATCH v5 02/19] vfio-user: connect vfio proxy to remote server John Levon
2025-06-26  6:32   ` Cédric Le Goater
2025-06-25 19:29 ` [PATCH v5 03/19] vfio-user: implement message receive infrastructure John Levon
2025-06-26  6:34   ` Cédric Le Goater
2025-06-25 19:29 ` [PATCH v5 04/19] vfio-user: implement message send infrastructure John Levon
2025-06-26  6:35   ` Cédric Le Goater
2025-06-25 19:29 ` [PATCH v5 05/19] vfio-user: implement VFIO_USER_DEVICE_GET_INFO John Levon
2025-06-26  6:35   ` Cédric Le Goater
2025-06-25 19:29 ` [PATCH v5 06/19] vfio-user: implement VFIO_USER_DEVICE_GET_REGION_INFO John Levon
2025-06-26  6:35   ` Cédric Le Goater
2025-06-25 19:29 ` [PATCH v5 07/19] vfio-user: implement VFIO_USER_REGION_READ/WRITE John Levon
2025-06-26  6:37   ` Cédric Le Goater
2025-06-25 19:30 ` [PATCH v5 08/19] vfio-user: set up PCI in vfio_user_pci_realize() John Levon
2025-06-26  6:37   ` Cédric Le Goater
2025-06-25 19:30 ` [PATCH v5 09/19] vfio-user: implement VFIO_USER_DEVICE_GET/SET_IRQ* John Levon
2025-06-26  6:38   ` Cédric Le Goater
2025-06-25 19:30 ` [PATCH v5 10/19] vfio-user: forward MSI-X PBA BAR accesses to server John Levon
2025-06-26  6:40   ` Cédric Le Goater
2025-06-25 19:30 ` [PATCH v5 11/19] vfio-user: set up container access to the proxy John Levon
2025-06-26  6:40   ` Cédric Le Goater
2025-06-25 19:30 ` [PATCH v5 12/19] vfio-user: implement VFIO_USER_DEVICE_RESET John Levon
2025-06-26  6:41   ` Cédric Le Goater
2025-06-25 19:30 ` [PATCH v5 13/19] vfio-user: implement VFIO_USER_DMA_MAP/UNMAP John Levon
2025-06-26  6:41   ` Cédric Le Goater
2025-06-25 19:30 ` [PATCH v5 14/19] vfio-user: implement VFIO_USER_DMA_READ/WRITE John Levon
2025-06-26  6:41   ` Cédric Le Goater
2025-06-25 19:30 ` [PATCH v5 15/19] vfio-user: add 'x-msg-timeout' option John Levon
2025-06-26  6:41   ` Cédric Le Goater
2025-06-25 19:30 ` [PATCH v5 16/19] vfio-user: support posted writes John Levon
2025-06-26  6:41   ` Cédric Le Goater
2025-06-25 19:30 ` [PATCH v5 17/19] vfio-user: add coalesced " John Levon
2025-06-26  6:41   ` Cédric Le Goater
2025-06-25 19:30 ` [PATCH v5 18/19] docs: add vfio-user documentation John Levon
2025-06-26  6:42   ` Cédric Le Goater
2025-06-25 19:30 ` [PATCH v5 19/19] vfio-user: introduce vfio-user protocol specification John Levon
2025-06-26  6:42   ` Cédric Le Goater
2025-06-26  7:12 ` Cédric Le Goater [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0398b04a-7fa6-498e-a674-619de2227b11@redhat.com \
    --to=clg@redhat.com \
    --cc=alex.williamson@redhat.com \
    --cc=berrange@redhat.com \
    --cc=john.levon@nutanix.com \
    --cc=marcandre.lureau@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=philmd@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=thanos.makatos@nutanix.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).