Received: from eggs.gnu.org ([2001:4830:134:3::10]:59739) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZoRZL-00008E-74 for qemu-devel@nongnu.org; Tue, 20 Oct 2015 03:42:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZoRZD-0005nP-JH for qemu-devel@nongnu.org; Tue, 20 Oct 2015 03:42:51 -0400 From: Gerd Hoffmann Date: Tue, 20 Oct 2015 09:42:37 +0200 Message-Id: <1445326958-28177-2-git-send-email-kraxel@redhat.com> In-Reply-To: <1445326958-28177-1-git-send-email-kraxel@redhat.com> References: <1445326958-28177-1-git-send-email-kraxel@redhat.com> Subject: [Qemu-devel] [PULL 1/2] ppc/spapr: Allow VIRTIO_VGA List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Alexander Graf , "open list:sPAPR pseries" , Gerd Hoffmann , David Gibson From: Benjamin Herrenschmidt It works fine with the Linux driver out of the box Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Gerd Hoffmann --- default-configs/ppc64-softmmu.mak | 1 + hw/ppc/spapr.c | 1 + 2 files changed, 2 insertions(+) diff --git a/default-configs/ppc64-softmmu.mak b/default-configs/ppc64-softmmu.mak index e77cb1a..bb71b23 100644 --- a/default-configs/ppc64-softmmu.mak +++ b/default-configs/ppc64-softmmu.mak @@ -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 diff --git a/hw/ppc/spapr.c b/hw/ppc/spapr.c index d1b0e53..3852ad1 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," -- 1.8.3.1