summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Cave-Ayland2019-03-07 22:20:58 +0100
committerDavid Gibson2019-03-12 04:33:04 +0100
commit31bc6fa7fa8124ff8fb08373f9402985c806919f (patch)
tree4a3f479c65034d34e9c85b232f9e49c3e5995907
parentmac_oldworld: use node name instead of alias name for hd device in FWPathProv... (diff)
downloadqemu-31bc6fa7fa8124ff8fb08373f9402985c806919f.tar.gz
qemu-31bc6fa7fa8124ff8fb08373f9402985c806919f.tar.xz
qemu-31bc6fa7fa8124ff8fb08373f9402985c806919f.zip
mac_newworld: use node name instead of alias name for hd device in FWPathProvider
When using -drive to configure the hd drive for the New World machine, the node name "disk" should be used instead of the "hd" alias. Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Message-Id: <20190307212058.4890-3-mark.cave-ayland@ilande.co.uk> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
-rw-r--r--hw/ppc/mac_newworld.c4
1 files 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");
}
- return g_strdup("hd");
+ return g_strdup("disk");
}
if (!strcmp(object_get_typename(OBJECT(dev)), "ide-hd")) {
- return g_strdup("hd");
+ return g_strdup("disk");
}
if (!strcmp(object_get_typename(OBJECT(dev)), "ide-cd")) {