aboutsummaryrefslogtreecommitdiff
path: root/hw/cirrus_vga.c
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2011-01-06 15:14:39 +0100
committerMichael S. Tsirkin <mst@redhat.com>2011-01-10 13:29:42 +0200
commitbe92bbf73dfd7d8a4786dc5f6c71590f4fbc5a32 (patch)
tree01ff0cbf520e541bc0260be1e52dac775fff2bb8 /hw/cirrus_vga.c
parent0965f12da61cbfe62252d21a8e6fa309753760e8 (diff)
downloadqemu-be92bbf73dfd7d8a4786dc5f6c71590f4fbc5a32.zip
qemu-be92bbf73dfd7d8a4786dc5f6c71590f4fbc5a32.tar.gz
qemu-be92bbf73dfd7d8a4786dc5f6c71590f4fbc5a32.tar.bz2
vga: tag as not hotplugable.
This patch tags all vga cards as not hotpluggable. The qemu standard vga will never ever be hotpluggable. For cirrus + vmware it might be possible to get that work some day. Todays we can't handle that for a number of reasons though. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/cirrus_vga.c')
-rw-r--r--hw/cirrus_vga.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/cirrus_vga.c b/hw/cirrus_vga.c
index 4f5040c..0d522a0 100644
--- a/hw/cirrus_vga.c
+++ b/hw/cirrus_vga.c
@@ -3227,6 +3227,7 @@ static PCIDeviceInfo cirrus_vga_info = {
.qdev.desc = "Cirrus CLGD 54xx VGA",
.qdev.size = sizeof(PCICirrusVGAState),
.qdev.vmsd = &vmstate_pci_cirrus_vga,
+ .no_hotplug = 1,
.init = pci_cirrus_vga_initfn,
.romfile = VGABIOS_CIRRUS_FILENAME,
.config_write = pci_cirrus_write_config,