qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 1/2] hppa: Do not enable artist graphics with -nographic option


From: Helge Deller
Subject: [PATCH 1/2] hppa: Do not enable artist graphics with -nographic option
Date: Sat, 21 Dec 2019 23:24:02 +0100

When qemu was started with the -nographic option, do not enable the
artist graphic card emulation.

Signed-off-by: Helge Deller <address@hidden>

diff --git a/hw/hppa/machine.c b/hw/hppa/machine.c
index 9d0192c4fa..aea365bf46 100644
--- a/hw/hppa/machine.c
+++ b/hw/hppa/machine.c
@@ -127,7 +127,7 @@ static void machine_hppa_init(MachineState *machine)
     dev = DEVICE(pci_create_simple(pci_bus, -1, "lsi53c895a"));
     lsi53c8xx_handle_legacy_cmdline(dev);

-    if (vga_interface_type != VGA_NONE) {
+    if (machine->enable_graphics && vga_interface_type != VGA_NONE) {
         dev = qdev_create(NULL, "artist");
         qdev_init_nofail(dev);
         s = SYS_BUS_DEVICE(dev);



reply via email to

[Prev in Thread] Current Thread [Next in Thread]