From 3d402831de14d9e23ed8efcfdf81b01a53472fe2 Mon Sep 17 00:00:00 2001 From: Blue Swirl Date: Sat, 1 Oct 2011 16:33:43 +0000 Subject: vga: make Cirrus ISA device optional Reviewed-by: Jan Kiszka Signed-off-by: Blue Swirl --- hw/pc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hw/pc.c') diff --git a/hw/pc.c b/hw/pc.c index 8cb78d9d47..b1fd4b004c 100644 --- a/hw/pc.c +++ b/hw/pc.c @@ -1080,7 +1080,7 @@ DeviceState *pc_vga_init(ISABus *isa_bus, PCIBus *pci_bus) if (pci_bus) { dev = pci_cirrus_vga_init(pci_bus); } else { - dev = isa_cirrus_vga_init(get_system_memory()); + dev = &isa_create_simple(isa_bus, "isa-cirrus-vga")->qdev; } } else if (vmsvga_enabled) { if (pci_bus) { -- cgit 1.4.1