aboutsummaryrefslogtreecommitdiff
path: root/hw/ide
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2011-01-06 15:14:38 +0100
committerMichael S. Tsirkin <mst@redhat.com>2011-01-10 13:29:25 +0200
commit0965f12da61cbfe62252d21a8e6fa309753760e8 (patch)
tree95933e963f29c3be17b05250d3cf96c9cee2ecb7 /hw/ide
parent180c22e18b0a9be21445271f94347238b0bc0a25 (diff)
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 <aurelien@aurel32.net> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/ide')
-rw-r--r--hw/ide/piix.c2
1 files changed, 2 insertions, 0 deletions
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 */