Signed-off-by: Anthony Liguori <aligu...@us.ibm.com> Signed-off-by: Hu Tao <hu...@cn.fujitsu.com> --- hw/pci-host/piix.c | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-)
diff --git a/hw/pci-host/piix.c b/hw/pci-host/piix.c index 1c5c761..f96835b 100644 --- a/hw/pci-host/piix.c +++ b/hw/pci-host/piix.c @@ -597,24 +597,14 @@ static const TypeInfo piix3_info = { static void piix3_xen_class_init(ObjectClass *klass, void *data) { - DeviceClass *dc = DEVICE_CLASS(klass); PCIDeviceClass *k = PCI_DEVICE_CLASS(klass); - dc->desc = "ISA bridge"; - dc->vmsd = &vmstate_piix3; - dc->no_user = 1; - k->no_hotplug = 1; - k->init = piix3_initfn; k->config_write = piix3_write_config_xen; - k->vendor_id = PCI_VENDOR_ID_INTEL; - /* 82371SB PIIX3 PCI-to-ISA bridge (Step A1) */ - k->device_id = PCI_DEVICE_ID_INTEL_82371SB_0; - k->class_id = PCI_CLASS_BRIDGE_ISA; }; static const TypeInfo piix3_xen_info = { .name = "PIIX3-xen", - .parent = TYPE_PCI_DEVICE, + .parent = "PIIX3", .instance_size = sizeof(PIIX3State), .class_init = piix3_xen_class_init, }; -- 1.8.2.3