Skip to content

Commit

Permalink
hw/ppc/spapr: Add support for "-vga cirrus"
Browse files Browse the repository at this point in the history
The cirrus VGA card has been enabled in the PPC builds with
commit 29f9cef ("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>
  • Loading branch information
huth authored and dgibson committed Feb 4, 2019
1 parent 200280a commit 6e66d0c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hw/ppc/spapr.c
Expand Up @@ -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,
Expand Down

0 comments on commit 6e66d0c

Please sign in to comment.