diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2011-01-06 15:14:38 +0100 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2011-01-10 13:29:25 +0200 |
commit | 0965f12da61cbfe62252d21a8e6fa309753760e8 (patch) | |
tree | 95933e963f29c3be17b05250d3cf96c9cee2ecb7 /hw/piix_pci.c | |
parent | 180c22e18b0a9be21445271f94347238b0bc0a25 (diff) | |
download | qemu-0965f12da61cbfe62252d21a8e6fa309753760e8.zip qemu-0965f12da61cbfe62252d21a8e6fa309753760e8.tar.gz qemu-0965f12da61cbfe62252d21a8e6fa309753760e8.tar.bz2 |
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/piix_pci.c')
-rw-r--r-- | hw/piix_pci.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/piix_pci.c b/hw/piix_pci.c index 38f9d9e..358da58 100644 --- a/hw/piix_pci.c +++ b/hw/piix_pci.c @@ -348,6 +348,7 @@ static PCIDeviceInfo i440fx_info[] = { .qdev.size = sizeof(PCII440FXState), .qdev.vmsd = &vmstate_i440fx, .qdev.no_user = 1, + .no_hotplug = 1, .init = i440fx_initfn, .config_write = i440fx_write_config, },{ @@ -356,6 +357,7 @@ static PCIDeviceInfo i440fx_info[] = { .qdev.size = sizeof(PIIX3State), .qdev.vmsd = &vmstate_piix3, .qdev.no_user = 1, + .no_hotplug = 1, .init = piix3_initfn, },{ /* end of list */ |