Received: from eggs.gnu.org ([209.51.188.92]:43249) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h2toq-0001gO-NC for qemu-devel@nongnu.org; Sun, 10 Mar 2019 04:28:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h2top-0001nl-Ra for qemu-devel@nongnu.org; Sun, 10 Mar 2019 04:28:28 -0400 From: David Gibson Date: Sun, 10 Mar 2019 19:26:45 +1100 Message-Id: <20190310082703.1245-43-david@gibson.dropbear.id.au> In-Reply-To: <20190310082703.1245-1-david@gibson.dropbear.id.au> References: <20190310082703.1245-1-david@gibson.dropbear.id.au> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PULL 42/60] mac_newworld: use node name instead of alias name for hd device in FWPathProvider List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: peter.maydell@linaro.org Cc: groug@kaod.org, qemu-ppc@nongnu.org, qemu-devel@nongnu.org, lvivier@redhat.com, Mark Cave-Ayland , David Gibson From: Mark Cave-Ayland When using -drive to configure the hd drive for the New World machine, th= e node name "disk" should be used instead of the "hd" alias. Signed-off-by: Mark Cave-Ayland Message-Id: <20190307212058.4890-3-mark.cave-ayland@ilande.co.uk> Signed-off-by: David Gibson --- hw/ppc/mac_newworld.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/ppc/mac_newworld.c b/hw/ppc/mac_newworld.c index 97e8817145..02d8559621 100644 --- a/hw/ppc/mac_newworld.c +++ b/hw/ppc/mac_newworld.c @@ -547,11 +547,11 @@ static char *core99_fw_dev_path(FWPathProvider *p, = BusState *bus, return g_strdup("cdrom"); } =20 - return g_strdup("hd"); + return g_strdup("disk"); } =20 if (!strcmp(object_get_typename(OBJECT(dev)), "ide-hd")) { - return g_strdup("hd"); + return g_strdup("disk"); } =20 if (!strcmp(object_get_typename(OBJECT(dev)), "ide-cd")) { --=20 2.20.1