hw/vfio/pci.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Signed-off-by: Chen Zhang <tgfbeta@me.com>
---
hw/vfio/pci.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/hw/vfio/pci.c b/hw/vfio/pci.c
index dc3479c..c5e6fe6 100644
--- a/hw/vfio/pci.c
+++ b/hw/vfio/pci.c
@@ -44,7 +44,7 @@
#define TYPE_VFIO_PCI "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_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 = {
- .name = TYPE_VIFO_PCI_NOHOTPLUG,
+ .name = TYPE_VFIO_PCI_NOHOTPLUG,
.parent = TYPE_VFIO_PCI,
.instance_size = sizeof(VFIOPCIDevice),
.class_init = vfio_pci_nohotplug_dev_class_init,
--
2.7.4
On 8/22/19 8:49 AM, Chen Zhang via Qemu-devel wrote: > Signed-off-by: Chen Zhang <tgfbeta@me.com> > --- > hw/vfio/pci.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/hw/vfio/pci.c b/hw/vfio/pci.c > index dc3479c..c5e6fe6 100644 > --- a/hw/vfio/pci.c > +++ b/hw/vfio/pci.c > @@ -44,7 +44,7 @@ > #define TYPE_VFIO_PCI "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_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 = { > - .name = TYPE_VIFO_PCI_NOHOTPLUG, > + .name = TYPE_VFIO_PCI_NOHOTPLUG, > .parent = TYPE_VFIO_PCI, > .instance_size = sizeof(VFIOPCIDevice), > .class_init = vfio_pci_nohotplug_dev_class_init, > Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
On Thu, 22 Aug 2019 14:49:09 +0800 Chen Zhang via Qemu-devel <qemu-devel@nongnu.org> wrote: > Signed-off-by: Chen Zhang <tgfbeta@me.com> > --- > hw/vfio/pci.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/hw/vfio/pci.c b/hw/vfio/pci.c > index dc3479c..c5e6fe6 100644 > --- a/hw/vfio/pci.c > +++ b/hw/vfio/pci.c > @@ -44,7 +44,7 @@ > #define TYPE_VFIO_PCI "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_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 = { > - .name = TYPE_VIFO_PCI_NOHOTPLUG, > + .name = TYPE_VFIO_PCI_NOHOTPLUG, > .parent = TYPE_VFIO_PCI, > .instance_size = sizeof(VFIOPCIDevice), > .class_init = vfio_pci_nohotplug_dev_class_init, Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Le 22/08/2019 à 08:49, Chen Zhang via Qemu-trivial a écrit : > Signed-off-by: Chen Zhang <tgfbeta@me.com> > --- > hw/vfio/pci.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/hw/vfio/pci.c b/hw/vfio/pci.c > index dc3479c..c5e6fe6 100644 > --- a/hw/vfio/pci.c > +++ b/hw/vfio/pci.c > @@ -44,7 +44,7 @@ > #define TYPE_VFIO_PCI "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_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 = { > - .name = TYPE_VIFO_PCI_NOHOTPLUG, > + .name = TYPE_VFIO_PCI_NOHOTPLUG, > .parent = TYPE_VFIO_PCI, > .instance_size = sizeof(VFIOPCIDevice), > .class_init = vfio_pci_nohotplug_dev_class_init, > Applied to my trivial-patches branch. Thanks, Laurent
Chen Zhang via Qemu-devel <qemu-devel@nongnu.org> 于2019年8月22日周四 下午2:49写道: > Signed-off-by: Chen Zhang <tgfbeta@me.com> > Reviewed-by: Li Qiang <liq3ea@gmail.com> > --- > hw/vfio/pci.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/hw/vfio/pci.c b/hw/vfio/pci.c > index dc3479c..c5e6fe6 100644 > --- a/hw/vfio/pci.c > +++ b/hw/vfio/pci.c > @@ -44,7 +44,7 @@ > #define TYPE_VFIO_PCI "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_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 = { > - .name = TYPE_VIFO_PCI_NOHOTPLUG, > + .name = TYPE_VFIO_PCI_NOHOTPLUG, > .parent = TYPE_VFIO_PCI, > .instance_size = sizeof(VFIOPCIDevice), > .class_init = vfio_pci_nohotplug_dev_class_init, > -- > 2.7.4 > > > >
© 2016 - 2024 Red Hat, Inc.