]> git.ipfire.org Git - thirdparty/qemu.git/commit
vfio-user: connect vfio proxy to remote server
authorJohn Levon <john.levon@nutanix.com>
Wed, 25 Jun 2025 19:29:54 +0000 (20:29 +0100)
committerCédric Le Goater <clg@redhat.com>
Thu, 26 Jun 2025 06:55:38 +0000 (08:55 +0200)
commit438d863f1f40fbc2b57bf94cc6c998a6445c0932
treeb708f870615c4eb9dd0b5b54829a6ca3ec0c8c1d
parent9fca2b7d702f7ba216c571504922b2f8994537cc
vfio-user: connect vfio proxy to remote server

Introduce the vfio-user "proxy": this is the client code responsible for
sending and receiving vfio-user messages across the control socket.

The new files hw/vfio-user/proxy.[ch] contain some basic plumbing for
managing the proxy; initialize the proxy during realization of the
VFIOUserPCIDevice instance.

Originally-by: John Johnson <john.g.johnson@oracle.com>
Signed-off-by: Elena Ufimtseva <elena.ufimtseva@oracle.com>
Signed-off-by: Jagannathan Raman <jag.raman@oracle.com>
Signed-off-by: John Levon <john.levon@nutanix.com>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Link: https://lore.kernel.org/qemu-devel/20250625193012.2316242-3-john.levon@nutanix.com
Signed-off-by: Cédric Le Goater <clg@redhat.com>
hw/vfio-user/meson.build
hw/vfio-user/pci.c
hw/vfio-user/proxy.c [new file with mode: 0644]
hw/vfio-user/proxy.h [new file with mode: 0644]
include/hw/vfio/vfio-device.h