aboutsummaryrefslogtreecommitdiff
path: root/hw/vfio/pci.h
diff options
context:
space:
mode:
authorEduardo Habkost <ehabkost@redhat.com>2020-09-02 18:43:03 -0400
committerEduardo Habkost <ehabkost@redhat.com>2020-09-09 13:20:22 -0400
commit01b4606440978e7c83082c1ebe4a811e3b1d8e83 (patch)
tree1b50a1a80a827a34e6d8e1934add32696aa7d84d /hw/vfio/pci.h
parentbdd5f27ec854c5e4ef4222a930730c6105d9cf07 (diff)
downloadqemu-01b4606440978e7c83082c1ebe4a811e3b1d8e83.zip
qemu-01b4606440978e7c83082c1ebe4a811e3b1d8e83.tar.gz
qemu-01b4606440978e7c83082c1ebe4a811e3b1d8e83.tar.bz2
vfio: Rename PCI_VFIO to VFIO_PCI
Make the type checking macro name consistent with the TYPE_* constant. Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> Reviewed-by: Eric Auger <eric.auger@redhat.com> Message-Id: <20200902224311.1321159-56-ehabkost@redhat.com> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'hw/vfio/pci.h')
-rw-r--r--hw/vfio/pci.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/vfio/pci.h b/hw/vfio/pci.h
index 846d60e..5e53d5b 100644
--- a/hw/vfio/pci.h
+++ b/hw/vfio/pci.h
@@ -116,7 +116,7 @@ typedef struct VFIOMSIXInfo {
#define TYPE_VFIO_PCI "vfio-pci"
typedef struct VFIOPCIDevice VFIOPCIDevice;
-DECLARE_INSTANCE_CHECKER(VFIOPCIDevice, PCI_VFIO,
+DECLARE_INSTANCE_CHECKER(VFIOPCIDevice, VFIO_PCI,
TYPE_VFIO_PCI)
struct VFIOPCIDevice {