From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=34786 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PJ1zd-0001Jy-3u for qemu-devel@nongnu.org; Thu, 18 Nov 2010 05:45:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PJ1zc-00084O-2Z for qemu-devel@nongnu.org; Thu, 18 Nov 2010 05:45:28 -0500 Received: from mx1.redhat.com ([209.132.183.28]:11867) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PJ1zb-00083o-RG for qemu-devel@nongnu.org; Thu, 18 Nov 2010 05:45:28 -0500 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id oAIAjQAd020676 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 18 Nov 2010 05:45:26 -0500 From: Gerd Hoffmann Date: Thu, 18 Nov 2010 11:45:18 +0100 Message-Id: <1290077118-11577-4-git-send-email-kraxel@redhat.com> In-Reply-To: <1290077118-11577-1-git-send-email-kraxel@redhat.com> References: <1290077118-11577-1-git-send-email-kraxel@redhat.com> Subject: [Qemu-devel] [PATCH 3/3] vga: tag as not hotplugable. List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Gerd Hoffmann 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 --- hw/cirrus_vga.c | 1 + hw/vga-pci.c | 1 + hw/vmware_vga.c | 1 + 3 files changed, 3 insertions(+), 0 deletions(-) diff --git a/hw/cirrus_vga.c b/hw/cirrus_vga.c index b473759..0577e94 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, + .qdev.no_hotplug = 1, .init = pci_cirrus_vga_initfn, .romfile = VGABIOS_CIRRUS_FILENAME, .config_write = pci_cirrus_write_config, diff --git a/hw/vga-pci.c b/hw/vga-pci.c index 4931eee..31e82d5 100644 --- a/hw/vga-pci.c +++ b/hw/vga-pci.c @@ -114,6 +114,7 @@ static PCIDeviceInfo vga_info = { .qdev.name = "VGA", .qdev.size = sizeof(PCIVGAState), .qdev.vmsd = &vmstate_vga_pci, + .qdev.no_hotplug = 1, .init = pci_vga_initfn, .config_write = pci_vga_write_config, .romfile = "vgabios-stdvga.bin", diff --git a/hw/vmware_vga.c b/hw/vmware_vga.c index e852620..4a0525f 100644 --- a/hw/vmware_vga.c +++ b/hw/vmware_vga.c @@ -1322,6 +1322,7 @@ static PCIDeviceInfo vmsvga_info = { .qdev.name = "vmware-svga", .qdev.size = sizeof(struct pci_vmsvga_state_s), .qdev.vmsd = &vmstate_vmware_vga, + .qdev.no_hotplug = 1, .init = pci_vmsvga_initfn, .romfile = "vgabios-vmware.bin", }; -- 1.7.1