summaryrefslogtreecommitdiff
path: root/hw/ppc/spapr.c
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2015-09-15 15:51:29 +1000
committerGerd Hoffmann <kraxel@redhat.com>2015-10-20 09:26:36 +0200
commitb798c1905705e6ab44279d8a9ae41e500756eb1c (patch)
tree7657d5030f1b7721640924b255044ddbf566bccf /hw/ppc/spapr.c
parent26c7be842637ee65a79cd77f96a99c23ddcd90ad (diff)
downloadqemu-b798c1905705e6ab44279d8a9ae41e500756eb1c.tar.gz
qemu-b798c1905705e6ab44279d8a9ae41e500756eb1c.tar.bz2
qemu-b798c1905705e6ab44279d8a9ae41e500756eb1c.zip
ppc/spapr: Allow VIRTIO_VGA
It works fine with the Linux driver out of the box Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/ppc/spapr.c')
-rw-r--r--hw/ppc/spapr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/ppc/spapr.c b/hw/ppc/spapr.c
index d1b0e53668..3852ad1967 100644
--- a/hw/ppc/spapr.c
+++ b/hw/ppc/spapr.c
@@ -1169,6 +1169,7 @@ static int spapr_vga_init(PCIBus *pci_bus)
case VGA_DEVICE:
return true;
case VGA_STD:
+ case VGA_VIRTIO:
return pci_vga_init(pci_bus) != NULL;
default:
fprintf(stderr, "This vga model is not supported,"