diff options
| author | Mark Cave-Ayland | 2019-03-07 22:20:57 +0100 |
|---|---|---|
| committer | David Gibson | 2019-03-12 04:33:04 +0100 |
| commit | 484d366e02732c8de6f92e53e2ee9bb93dd4ca23 (patch) | |
| tree | d0c1a3dc73ce2857d0ea9128d1109f751cd2f99d | |
| parent | target/ppc: introduce vsr64_offset() to simplify get_cpu_vsr{l,h}() and set_c... (diff) | |
| download | qemu-484d366e02732c8de6f92e53e2ee9bb93dd4ca23.tar.gz qemu-484d366e02732c8de6f92e53e2ee9bb93dd4ca23.tar.xz qemu-484d366e02732c8de6f92e53e2ee9bb93dd4ca23.zip | |
mac_oldworld: use node name instead of alias name for hd device in FWPathProvider
When using -drive to configure the hd drive for the Old 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-2-mark.cave-ayland@ilande.co.uk>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
| -rw-r--r-- | hw/ppc/mac_oldworld.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/ppc/mac_oldworld.c b/hw/ppc/mac_oldworld.c index cc1e463466..460cbc7923 100644 --- a/hw/ppc/mac_oldworld.c +++ b/hw/ppc/mac_oldworld.c @@ -402,11 +402,11 @@ static char *heathrow_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")) { |
