summary refs log tree commit diff stats
path: root/hw/vfio/types.h
diff options
context:
space:
mode:
authorMark Cave-Ayland <mark.caveayland@nutanix.com>2025-09-25 12:31:24 +0100
committerCédric Le Goater <clg@redhat.com>2025-09-25 17:55:20 +0200
commitaf2a8bfb3cd38cceb39a152ff33c7daa4c81c506 (patch)
tree792613911a73d9e160a2c29c1003c7dad802c1c7 /hw/vfio/types.h
parent25c8376b37948d7608b1a13f43e985fc801295e5 (diff)
downloadfocaccia-qemu-af2a8bfb3cd38cceb39a152ff33c7daa4c81c506.tar.gz
focaccia-qemu-af2a8bfb3cd38cceb39a152ff33c7daa4c81c506.zip
hw/vfio/types.h: rename TYPE_VFIO_PCI_BASE to TYPE_VFIO_PCI_DEVICE
This brings the QOM type name in line with the underlying VFIOPCIDevice structure.

Signed-off-by: Mark Cave-Ayland <mark.caveayland@nutanix.com>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Link: https://lore.kernel.org/qemu-devel/20250925113159.1760317-17-mark.caveayland@nutanix.com
Signed-off-by: Cédric Le Goater <clg@redhat.com>
Diffstat (limited to 'hw/vfio/types.h')
-rw-r--r--hw/vfio/types.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/vfio/types.h b/hw/vfio/types.h
index c19334ff25..5482d90808 100644
--- a/hw/vfio/types.h
+++ b/hw/vfio/types.h
@@ -9,11 +9,11 @@
 #define HW_VFIO_VFIO_TYPES_H
 
 /*
- * TYPE_VFIO_PCI_BASE is an abstract type used to share code
+ * TYPE_VFIO_PCI_DEVICE is an abstract type used to share code
  * between VFIO implementations that use a kernel driver
  * with those that use user sockets.
  */
-#define TYPE_VFIO_PCI_BASE "vfio-pci-base"
+#define TYPE_VFIO_PCI_DEVICE "vfio-pci-device"
 
 #define TYPE_VFIO_PCI "vfio-pci"
 /* TYPE_VFIO_PCI shares struct VFIOPCIDevice. */