aboutsummaryrefslogtreecommitdiff
path: root/hw/isa/piix4.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/isa/piix4.c')
-rw-r--r--hw/isa/piix4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/isa/piix4.c b/hw/isa/piix4.c
index def6fe3a..492cd22 100644
--- a/hw/isa/piix4.c
+++ b/hw/isa/piix4.c
@@ -107,7 +107,6 @@ static void piix4_class_init(ObjectClass *klass, void *data)
DeviceClass *dc = DEVICE_CLASS(klass);
PCIDeviceClass *k = PCI_DEVICE_CLASS(klass);
- k->no_hotplug = 1;
k->init = piix4_initfn;
k->vendor_id = PCI_VENDOR_ID_INTEL;
k->device_id = PCI_DEVICE_ID_INTEL_82371AB_0;
@@ -119,6 +118,7 @@ static void piix4_class_init(ObjectClass *klass, void *data)
* e.g. by mips_malta_init()
*/
dc->cannot_instantiate_with_device_add_yet = true;
+ dc->hotpluggable = false;
}
static const TypeInfo piix4_info = {