]> git.proxmox.com Git - qemu.git/commitdiff
disable automatic loading of sgabios when -nographic
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 3 Nov 2011 15:00:22 +0000 (16:00 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 7 Nov 2011 16:57:36 +0000 (10:57 -0600)
sgabios hasn't gotten a lot of coverage since it was not shipped.  For 1.0,
let's disable the automatic loading of the option ROM in -nographic
mode.  We can put it back for 1.1.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/pc.c

diff --git a/hw/pc.c b/hw/pc.c
index 25bfa8502226560b0ad206d3cc0e571727c801fa..30156718585f43ce42c2de7087f3b8e9da6773ef 100644 (file)
--- a/hw/pc.c
+++ b/hw/pc.c
@@ -1103,15 +1103,6 @@ void pc_vga_init(PCIBus *pci_bus)
             isa_vga_init();
         }
     }
-
-    /*
-     * sga does not suppress normal vga output. So a machine can have both a
-     * vga card and sga manually enabled. Output will be seen on both.
-     * For nographic case, sga is enabled at all times
-     */
-    if (display_type == DT_NOGRAPHIC) {
-        isa_create_simple("sga");
-    }
 }
 
 static void cpu_request_exit(void *opaque, int irq, int level)