diff options
| author | Mark Cave-Ayland <mark.caveayland@nutanix.com> | 2025-09-25 12:31:24 +0100 |
|---|---|---|
| committer | Cédric Le Goater <clg@redhat.com> | 2025-09-25 17:55:20 +0200 |
| commit | af2a8bfb3cd38cceb39a152ff33c7daa4c81c506 (patch) | |
| tree | 792613911a73d9e160a2c29c1003c7dad802c1c7 /hw/vfio/device.c | |
| parent | 25c8376b37948d7608b1a13f43e985fc801295e5 (diff) | |
| download | focaccia-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/device.c')
| -rw-r--r-- | hw/vfio/device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/vfio/device.c b/hw/vfio/device.c index 963cefc053..64f8750389 100644 --- a/hw/vfio/device.c +++ b/hw/vfio/device.c @@ -423,7 +423,7 @@ bool vfio_device_hiod_create_and_realize(VFIODevice *vbasedev, VFIODevice *vfio_get_vfio_device(Object *obj) { if (object_dynamic_cast(obj, TYPE_VFIO_PCI)) { - return &VFIO_PCI_BASE(obj)->vbasedev; + return &VFIO_PCI_DEVICE(obj)->vbasedev; } else { return NULL; } |