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/ide/piix.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'hw/ide') diff --git a/hw/ide/piix.c b/hw/ide/piix.c index 1cad9066a0..d4289af9c4 100644 --- a/hw/ide/piix.c +++ b/hw/ide/piix.c @@ -194,11 +194,13 @@ static PCIDeviceInfo piix_ide_info[] = { .qdev.name = "piix3-ide", .qdev.size = sizeof(PCIIDEState), .qdev.no_user = 1, + .no_hotplug = 1, .init = pci_piix3_ide_initfn, },{ .qdev.name = "piix4-ide", .qdev.size = sizeof(PCIIDEState), .qdev.no_user = 1, + .no_hotplug = 1, .init = pci_piix4_ide_initfn, },{ /* end of list */ -- cgit v1.2.3