mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-27 05:20:50 +00:00
vfio: fix a typo
Signed-off-by: Chen Zhang <tgfbeta@me.com> Reviewed-by: Li Qiang <liq3ea@gmail.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Reviewed-by: Cornelia Huck <cohuck@redhat.com> Message-Id: <8E5A9C27-C76D-46CF-85B0-79121A00B05F@me.com> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
This commit is contained in:
parent
f8c3db33a5
commit
f75ca62723
@ -44,7 +44,7 @@
|
|||||||
#define TYPE_VFIO_PCI "vfio-pci"
|
#define TYPE_VFIO_PCI "vfio-pci"
|
||||||
#define PCI_VFIO(obj) OBJECT_CHECK(VFIOPCIDevice, obj, TYPE_VFIO_PCI)
|
#define PCI_VFIO(obj) OBJECT_CHECK(VFIOPCIDevice, obj, TYPE_VFIO_PCI)
|
||||||
|
|
||||||
#define TYPE_VIFO_PCI_NOHOTPLUG "vfio-pci-nohotplug"
|
#define TYPE_VFIO_PCI_NOHOTPLUG "vfio-pci-nohotplug"
|
||||||
|
|
||||||
static void vfio_disable_interrupts(VFIOPCIDevice *vdev);
|
static void vfio_disable_interrupts(VFIOPCIDevice *vdev);
|
||||||
static void vfio_mmap_set_enabled(VFIOPCIDevice *vdev, bool enabled);
|
static void vfio_mmap_set_enabled(VFIOPCIDevice *vdev, bool enabled);
|
||||||
@ -3199,7 +3199,7 @@ static void vfio_pci_nohotplug_dev_class_init(ObjectClass *klass, void *data)
|
|||||||
}
|
}
|
||||||
|
|
||||||
static const TypeInfo vfio_pci_nohotplug_dev_info = {
|
static const TypeInfo vfio_pci_nohotplug_dev_info = {
|
||||||
.name = TYPE_VIFO_PCI_NOHOTPLUG,
|
.name = TYPE_VFIO_PCI_NOHOTPLUG,
|
||||||
.parent = TYPE_VFIO_PCI,
|
.parent = TYPE_VFIO_PCI,
|
||||||
.instance_size = sizeof(VFIOPCIDevice),
|
.instance_size = sizeof(VFIOPCIDevice),
|
||||||
.class_init = vfio_pci_nohotplug_dev_class_init,
|
.class_init = vfio_pci_nohotplug_dev_class_init,
|
||||||
|
Loading…
Reference in New Issue
Block a user