mirror of
https://github.com/qemu/qemu.git
synced 2024-11-27 22:03:35 +08:00
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>
This commit is contained in:
parent
26c7be8426
commit
b798c19057
@ -3,6 +3,7 @@
|
||||
include pci.mak
|
||||
include sound.mak
|
||||
include usb.mak
|
||||
CONFIG_VIRTIO_VGA=y
|
||||
CONFIG_ISA_MMIO=y
|
||||
CONFIG_ESCC=y
|
||||
CONFIG_M48T59=y
|
||||
|
@ -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,"
|
||||
|
Loading…
Reference in New Issue
Block a user