From nobody Fri Nov 7 16:47:23 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=redhat.com Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 154885612082699.40802485352185; Wed, 30 Jan 2019 05:48:40 -0800 (PST) Received: from localhost ([127.0.0.1]:38555 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1goqEJ-0004WA-8q for importer@patchew.org; Wed, 30 Jan 2019 08:48:39 -0500 Received: from eggs.gnu.org ([209.51.188.92]:41307) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1goq2u-0004EB-G1 for qemu-devel@nongnu.org; Wed, 30 Jan 2019 08:36:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1goq2s-0007MA-Jk for qemu-devel@nongnu.org; Wed, 30 Jan 2019 08:36:52 -0500 Received: from mx1.redhat.com ([209.132.183.28]:36098) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1goq2q-0007Jl-LQ; Wed, 30 Jan 2019 08:36:50 -0500 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 84000A7898; Wed, 30 Jan 2019 13:36:45 +0000 (UTC) Received: from thuth.com (ovpn-116-210.ams2.redhat.com [10.36.116.210]) by smtp.corp.redhat.com (Postfix) with ESMTP id 98537112C1A1; Wed, 30 Jan 2019 13:36:43 +0000 (UTC) From: Thomas Huth To: qemu-ppc@nongnu.org, David Gibson Date: Wed, 30 Jan 2019 14:36:39 +0100 Message-Id: <1548855399-31273-1-git-send-email-thuth@redhat.com> X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.30]); Wed, 30 Jan 2019 13:36:46 +0000 (UTC) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.132.183.28 Subject: [Qemu-devel] [PATCH] hw/ppc/spapr: Add support for "-vga cirrus" X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" 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 --- hw/ppc/spapr.c | 1 + 1 file changed, 1 insertion(+) diff --git a/hw/ppc/spapr.c b/hw/ppc/spapr.c index 71fe552..2323974 100644 --- a/hw/ppc/spapr.c +++ b/hw/ppc/spapr.c @@ -1717,6 +1717,7 @@ static bool spapr_vga_init(PCIBus *pci_bus, Error **e= rrp) return true; case VGA_STD: case VGA_VIRTIO: + case VGA_CIRRUS: return pci_vga_init(pci_bus) !=3D NULL; default: error_setg(errp, --=20 1.8.3.1