diff options
| author | Cédric Le Goater <clg@redhat.com> | 2025-03-26 08:51:03 +0100 |
|---|---|---|
| committer | Cédric Le Goater <clg@redhat.com> | 2025-04-25 09:01:37 +0200 |
| commit | 545256134fdcac6c342f8e7f45eb591e3b12c700 (patch) | |
| tree | bfda37d0d94d7295f05406d07fcdacfa37ae145e /hw/vfio/iommufd.c | |
| parent | f6d7f5d02bbb57b5b469863afe89278d64598d81 (diff) | |
| download | focaccia-qemu-545256134fdcac6c342f8e7f45eb591e3b12c700.tar.gz focaccia-qemu-545256134fdcac6c342f8e7f45eb591e3b12c700.zip | |
vfio: Move vfio_kvm_device_add/del_fd() to helpers.c
vfio_kvm_device_add/del_fd() are low level routines. Move them with the other helpers. Reviewed-by: Zhenzhong Duan <zhenzhong.duan@intel.com> Reviewed-by: John Levon <john.levon@nutanix.com> Link: https://lore.kernel.org/qemu-devel/20250318095415.670319-18-clg@redhat.com Link: https://lore.kernel.org/qemu-devel/20250326075122.1299361-19-clg@redhat.com Signed-off-by: Cédric Le Goater <clg@redhat.com>
Diffstat (limited to 'hw/vfio/iommufd.c')
| -rw-r--r-- | hw/vfio/iommufd.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/vfio/iommufd.c b/hw/vfio/iommufd.c index 2ec15bc269..85b5a8146a 100644 --- a/hw/vfio/iommufd.c +++ b/hw/vfio/iommufd.c @@ -26,6 +26,7 @@ #include "qemu/chardev_open.h" #include "pci.h" #include "vfio-iommufd.h" +#include "vfio-helpers.h" #define TYPE_HOST_IOMMU_DEVICE_IOMMUFD_VFIO \ TYPE_HOST_IOMMU_DEVICE_IOMMUFD "-vfio" |