From 0965f12da61cbfe62252d21a8e6fa309753760e8 Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Thu, 6 Jan 2011 15:14:38 +0100 Subject: piix: tag as not hotpluggable. This patch tags all pci devices which belong to the piix3/4 chipsets as not hotpluggable (Host bridge, ISA bridge, IDE controller, ACPI bridge). Acked-by: Aurelien Jarno Signed-off-by: Gerd Hoffmann Signed-off-by: Michael S. Tsirkin --- hw/acpi_piix4.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'hw/acpi_piix4.c') diff --git a/hw/acpi_piix4.c b/hw/acpi_piix4.c index 173d78148d..273097d480 100644 --- a/hw/acpi_piix4.c +++ b/hw/acpi_piix4.c @@ -428,6 +428,8 @@ static PCIDeviceInfo piix4_pm_info = { .qdev.desc = "PM", .qdev.size = sizeof(PIIX4PMState), .qdev.vmsd = &vmstate_acpi, + .qdev.no_user = 1, + .no_hotplug = 1, .init = piix4_pm_initfn, .config_write = pm_write_config, .qdev.props = (Property[]) { -- cgit v1.2.3