diff mbox series

[PULL,26/37] hw/ppc/spapr: Add support for "-vga cirrus"

Message ID 20190204090124.26191-27-david@gibson.dropbear.id.au
State New
Headers show
Series [PULL,01/37] pseries: Update SLOF firmware image | expand

Commit Message

David Gibson Feb. 4, 2019, 9:01 a.m. UTC
From: Thomas Huth <thuth@redhat.com>

The cirrus VGA card has been enabled in the PPC builds with
commit 29f9cef39eb1ae55e82c ("ppc: Include vga cirrus card into
the compiling process") last year. It also works on the pseries
machine, even SLOF contains support for this card, so we can
also support this for the "-vga" parameter here.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
---
 hw/ppc/spapr.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/hw/ppc/spapr.c b/hw/ppc/spapr.c
index c66e7d8e0a..0fcdd35cbe 100644
--- a/hw/ppc/spapr.c
+++ b/hw/ppc/spapr.c
@@ -1715,6 +1715,7 @@  static bool spapr_vga_init(PCIBus *pci_bus, Error **errp)
         return true;
     case VGA_STD:
     case VGA_VIRTIO:
+    case VGA_CIRRUS:
         return pci_vga_init(pci_bus) != NULL;
     default:
         error_setg(errp,