diff options
author | Eduardo Habkost | 2020-08-25 21:20:38 +0200 |
---|---|---|
committer | Eduardo Habkost | 2020-08-27 20:04:55 +0200 |
commit | 42db0fb5e090c21fbb88ea1b8e7472035e953259 (patch) | |
tree | 1aa903818316229591c01422283e59f2bfc5da52 /hw/vfio/pci.c | |
parent | kvm: Move QOM macros to kvm.h (diff) | |
download | qemu-42db0fb5e090c21fbb88ea1b8e7472035e953259.tar.gz qemu-42db0fb5e090c21fbb88ea1b8e7472035e953259.tar.xz qemu-42db0fb5e090c21fbb88ea1b8e7472035e953259.zip |
vfio/pci: Move QOM macros to header
This will make future conversion to OBJECT_DECLARE* easier.
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Tested-By: Roman Bolshakov <r.bolshakov@yadro.com>
Message-Id: <20200825192110.3528606-43-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'hw/vfio/pci.c')
-rw-r--r-- | hw/vfio/pci.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/hw/vfio/pci.c b/hw/vfio/pci.c index 2e561c06d6..3611dcd38b 100644 --- a/hw/vfio/pci.c +++ b/hw/vfio/pci.c @@ -42,9 +42,6 @@ #include "qapi/error.h" #include "migration/blocker.h" -#define TYPE_VFIO_PCI "vfio-pci" -#define PCI_VFIO(obj) OBJECT_CHECK(VFIOPCIDevice, obj, TYPE_VFIO_PCI) - #define TYPE_VFIO_PCI_NOHOTPLUG "vfio-pci-nohotplug" static void vfio_disable_interrupts(VFIOPCIDevice *vdev); |