From nobody Mon Apr 29 05:47:43 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.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 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1544199129963526.6651191950965; Fri, 7 Dec 2018 08:12:09 -0800 (PST) Received: from localhost ([::1]:46908 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gVIjY-00053A-Qb for importer@patchew.org; Fri, 07 Dec 2018 11:12:08 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39821) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gVIg4-0002I2-OB for qemu-devel@nongnu.org; Fri, 07 Dec 2018 11:08:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gVIfw-0001rD-Hv for qemu-devel@nongnu.org; Fri, 07 Dec 2018 11:08:32 -0500 Received: from chuckie.co.uk ([82.165.15.123]:39597 helo=s16892447.onlinehome-server.info) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gVIfv-0001UC-6l; Fri, 07 Dec 2018 11:08:23 -0500 Received: from host86-191-82-245.range86-191.btcentralplus.com ([86.191.82.245] helo=kentang.home) by s16892447.onlinehome-server.info with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.76) (envelope-from ) id 1gVIg5-0004ka-0t; Fri, 07 Dec 2018 16:08:35 +0000 From: Mark Cave-Ayland To: qemu-devel@nongnu.org, qemu-ppc@nongnu.org, david@gibson.dropbear.id.au Date: Fri, 7 Dec 2018 16:08:04 +0000 Message-Id: <20181207160806.13569-2-mark.cave-ayland@ilande.co.uk> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20181207160806.13569-1-mark.cave-ayland@ilande.co.uk> References: <20181207160806.13569-1-mark.cave-ayland@ilande.co.uk> X-SA-Exim-Connect-IP: 86.191.82.245 X-SA-Exim-Mail-From: mark.cave-ayland@ilande.co.uk X-SA-Exim-Version: 4.2.1 (built Sun, 08 Jan 2012 02:45:44 +0000) X-SA-Exim-Scanned: Yes (on s16892447.onlinehome-server.info) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 82.165.15.123 Subject: [Qemu-devel] [PATCH 1/3] MAINTAINERS: add myself as maintainer for Mac Old World and New World machines 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: , 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" I've unofficially been doing most of the work on the Mac machines for a whi= le now, so update MAINTAINERS to reflect this. David is still happy to be list= ed as a reviewer as per our discussion at KVM forum. Signed-off-by: Mark Cave-Ayland Acked-by: David Gibson --- MAINTAINERS | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 63effdc473..64bffaecca 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -935,7 +935,8 @@ F: hw/ppc/mpc8544ds.c F: hw/ppc/mpc8544_guts.c =20 New World -M: David Gibson +M: Mark Cave-Ayland +R: David Gibson L: qemu-ppc@nongnu.org S: Odd Fixes F: hw/ppc/mac_newworld.c @@ -949,7 +950,8 @@ F: include/hw/misc/mos6522.h F: include/hw/ppc/mac_dbdma.h =20 Old World -M: David Gibson +M: Mark Cave-Ayland +R: David Gibson L: qemu-ppc@nongnu.org S: Odd Fixes F: hw/ppc/mac_oldworld.c --=20 2.11.0 From nobody Mon Apr 29 05:47:43 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.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 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1544199021659442.52248060017166; Fri, 7 Dec 2018 08:10:21 -0800 (PST) Received: from localhost ([::1]:46894 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gVIhk-0003b8-NU for importer@patchew.org; Fri, 07 Dec 2018 11:10:16 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39789) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gVIfz-00026d-Al for qemu-devel@nongnu.org; Fri, 07 Dec 2018 11:08:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gVIfx-0001tk-2g for qemu-devel@nongnu.org; Fri, 07 Dec 2018 11:08:27 -0500 Received: from chuckie.co.uk ([82.165.15.123]:39600 helo=s16892447.onlinehome-server.info) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gVIfv-0001aF-Hd; Fri, 07 Dec 2018 11:08:24 -0500 Received: from host86-191-82-245.range86-191.btcentralplus.com ([86.191.82.245] helo=kentang.home) by s16892447.onlinehome-server.info with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.76) (envelope-from ) id 1gVIg7-0004ka-AC; Fri, 07 Dec 2018 16:08:36 +0000 From: Mark Cave-Ayland To: qemu-devel@nongnu.org, qemu-ppc@nongnu.org, david@gibson.dropbear.id.au Date: Fri, 7 Dec 2018 16:08:05 +0000 Message-Id: <20181207160806.13569-3-mark.cave-ayland@ilande.co.uk> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20181207160806.13569-1-mark.cave-ayland@ilande.co.uk> References: <20181207160806.13569-1-mark.cave-ayland@ilande.co.uk> X-SA-Exim-Connect-IP: 86.191.82.245 X-SA-Exim-Mail-From: mark.cave-ayland@ilande.co.uk X-SA-Exim-Version: 4.2.1 (built Sun, 08 Jan 2012 02:45:44 +0000) X-SA-Exim-Scanned: Yes (on s16892447.onlinehome-server.info) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 82.165.15.123 Subject: [Qemu-devel] [PATCH 2/3] mac_newworld: enable access to EDID data for the VGA device 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: , 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" This is in preparation for some upcoming QEMU NDRV driver changes that pass display information from the host to the guest. Signed-off-by: Mark Cave-Ayland --- hw/ppc/mac_newworld.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hw/ppc/mac_newworld.c b/hw/ppc/mac_newworld.c index 14273a123e..df0a2f03ff 100644 --- a/hw/ppc/mac_newworld.c +++ b/hw/ppc/mac_newworld.c @@ -430,7 +430,10 @@ static void ppc_core99_init(MachineState *machine) } } =20 - pci_vga_init(pci_bus); + dev =3D qdev_create(BUS(pci_bus), "VGA"); + qdev_prop_set_int32(dev, "addr", -1); + qdev_prop_set_bit(dev, "edid", true); + qdev_init_nofail(dev); =20 if (graphic_depth !=3D 15 && graphic_depth !=3D 32 && graphic_depth != =3D 8) { graphic_depth =3D 15; --=20 2.11.0 From nobody Mon Apr 29 05:47:43 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.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 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1544199021648985.8908848171131; Fri, 7 Dec 2018 08:10:21 -0800 (PST) Received: from localhost ([::1]:46893 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gVIhk-0003aw-Ql for importer@patchew.org; Fri, 07 Dec 2018 11:10:16 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39791) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gVIfz-00026k-BU for qemu-devel@nongnu.org; Fri, 07 Dec 2018 11:08:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gVIfx-0001v9-GB for qemu-devel@nongnu.org; Fri, 07 Dec 2018 11:08:27 -0500 Received: from chuckie.co.uk ([82.165.15.123]:39601 helo=s16892447.onlinehome-server.info) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gVIfx-0001d9-0D; Fri, 07 Dec 2018 11:08:25 -0500 Received: from host86-191-82-245.range86-191.btcentralplus.com ([86.191.82.245] helo=kentang.home) by s16892447.onlinehome-server.info with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.76) (envelope-from ) id 1gVIg8-0004ka-GQ; Fri, 07 Dec 2018 16:08:37 +0000 From: Mark Cave-Ayland To: qemu-devel@nongnu.org, qemu-ppc@nongnu.org, david@gibson.dropbear.id.au Date: Fri, 7 Dec 2018 16:08:06 +0000 Message-Id: <20181207160806.13569-4-mark.cave-ayland@ilande.co.uk> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20181207160806.13569-1-mark.cave-ayland@ilande.co.uk> References: <20181207160806.13569-1-mark.cave-ayland@ilande.co.uk> X-SA-Exim-Connect-IP: 86.191.82.245 X-SA-Exim-Mail-From: mark.cave-ayland@ilande.co.uk X-SA-Exim-Version: 4.2.1 (built Sun, 08 Jan 2012 02:45:44 +0000) X-SA-Exim-Scanned: Yes (on s16892447.onlinehome-server.info) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 82.165.15.123 Subject: [Qemu-devel] [PATCH 3/3] mac_oldworld: enable access to EDID data for the VGA device 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: , 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" This is in preparation for some upcoming QEMU NDRV driver changes that pass display information from the host to the guest. Signed-off-by: Mark Cave-Ayland --- hw/ppc/mac_oldworld.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hw/ppc/mac_oldworld.c b/hw/ppc/mac_oldworld.c index 9891c325a9..1000570ffd 100644 --- a/hw/ppc/mac_oldworld.c +++ b/hw/ppc/mac_oldworld.c @@ -271,7 +271,10 @@ static void ppc_heathrow_init(MachineState *machine) =20 pci_bus =3D PCI_HOST_BRIDGE(dev)->bus; =20 - pci_vga_init(pci_bus); + dev =3D qdev_create(BUS(pci_bus), "VGA"); + qdev_prop_set_int32(dev, "addr", -1); + qdev_prop_set_bit(dev, "edid", true); + qdev_init_nofail(dev); =20 for (i =3D 0; i < nb_nics; i++) { pci_nic_init_nofail(&nd_table[i], pci_bus, "ne2k_pci", NULL); --=20 2.11.0