This enables use of the parent class rest() callback in VFIO.
Signed-off-by: Alexey Kardashevskiy <[email protected]>
---
I honestly do not remember why I did not do this when I added VFIO at the first
place...
---
hw/ppc/spapr_pci_vfio.c | 6 ------
1 file changed, 6 deletions(-)
diff --git a/hw/ppc/spapr_pci_vfio.c b/hw/ppc/spapr_pci_vfio.c
index 51b4314..11b4272 100644
--- a/hw/ppc/spapr_pci_vfio.c
+++ b/hw/ppc/spapr_pci_vfio.c
@@ -73,18 +73,12 @@ static void spapr_phb_vfio_finish_realize(sPAPRPHBState
*sphb, Error **errp)
object_unref(OBJECT(tcet));
}
-static void spapr_phb_vfio_reset(DeviceState *qdev)
-{
- /* Do nothing */
-}
-
static void spapr_phb_vfio_class_init(ObjectClass *klass, void *data)
{
DeviceClass *dc = DEVICE_CLASS(klass);
sPAPRPHBClass *spc = SPAPR_PCI_HOST_BRIDGE_CLASS(klass);
dc->props = spapr_phb_vfio_properties;
- dc->reset = spapr_phb_vfio_reset;
spc->finish_realize = spapr_phb_vfio_finish_realize;
}
--
2.0.0