hw/ppc/spapr: Add support for "-vga cirrus"
PATCH 1/1 hw/ppc/spapr: Add support for "-vga cirrus"
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 <[email protected]>
--- hw/ppc/spapr.c | 1 + 1 file changed, 1 insertion(+)
hw/ppc/spapr.c +1 -0
@@ -1717,6 +1717,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,
Signature · 1 line
1.8.3.1
David Gibson
AppliedQuoted 7 lines · Thomas Huth
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 <[email protected]>
Applied to ppc-for-4.0.
Quoted 16 lines
--- hw/ppc/spapr.c | 1 + 1 file changed, 1 insertion(+)hw/ppc/spapr.c +1
-0@@ -1717,6 +1717,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,
Signature · 4 lines
David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson