Re: [Qemu-devel] [PATCH] vfio-pci: make vfio-pci device more QOM conventional

2018-10-12 Thread Philippe Mathieu-Daudé
On 12/10/2018 05:40, Li Qiang wrote: > Define a TYPE_VFIO_PCI and drop DO_UPCAST. > > Signed-off-by: Li Qiang Reviewed-by: Philippe Mathieu-Daudé > --- > hw/vfio/pci.c | 29 +++-- > 1 file changed, 15 insertions(+), 14 deletions(-) > > diff --git a/hw/vfio/pci.c b/hw/

[Qemu-devel] [PATCH] vfio-pci: make vfio-pci device more QOM conventional

2018-10-11 Thread Li Qiang
Define a TYPE_VFIO_PCI and drop DO_UPCAST. Signed-off-by: Li Qiang --- hw/vfio/pci.c | 29 +++-- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/hw/vfio/pci.c b/hw/vfio/pci.c index 866f0deeb7..3f232aedff 100644 --- a/hw/vfio/pci.c +++ b/hw/vfio/pci.c @@ -3