]> git.ipfire.org Git - thirdparty/qemu.git/commit
vfio: export PCI helpers needed for vfio-user
authorJohn Levon <john.levon@nutanix.com>
Sat, 7 Jun 2025 00:10:33 +0000 (17:10 -0700)
committerCédric Le Goater <clg@redhat.com>
Wed, 11 Jun 2025 12:01:58 +0000 (14:01 +0200)
commit7163c0bca72ae70a5be2d455c5348255a6016f04
tree26e5b74005ce1f17d2c5febbf0586f3230d10be6
parentc393e6d181c98b76b09fb5120c68f458d5a05d4b
vfio: export PCI helpers needed for vfio-user

The vfio-user code will need to re-use various parts of the vfio PCI
code. Export them in hw/vfio/pci.h, and rename them to the vfio_pci_*
namespace.

Signed-off-by: John Levon <john.levon@nutanix.com>
Reviewed-by: Mark Cave-Ayland <mark.caveayland@nutanix.com>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Link: https://lore.kernel.org/qemu-devel/20250607001056.335310-2-john.levon@nutanix.com
Signed-off-by: Cédric Le Goater <clg@redhat.com>
hw/vfio/pci.c
hw/vfio/pci.h
hw/vfio/trace-events