[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-stable] [PATCH 22/36] mac_oldworld: use node name instead of alias
From: |
Michael Roth |
Subject: |
[Qemu-stable] [PATCH 22/36] mac_oldworld: use node name instead of alias name for hd device in FWPathProvider |
Date: |
Tue, 23 Jul 2019 12:00:50 -0500 |
From: Mark Cave-Ayland <address@hidden>
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 <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: David Gibson <address@hidden>
(cherry picked from commit 484d366e02732c8de6f92e53e2ee9bb93dd4ca23)
Signed-off-by: Michael Roth <address@hidden>
---
hw/ppc/mac_oldworld.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/hw/ppc/mac_oldworld.c b/hw/ppc/mac_oldworld.c
index 9891c325a9..a8c8ec77bc 100644
--- a/hw/ppc/mac_oldworld.c
+++ b/hw/ppc/mac_oldworld.c
@@ -404,11 +404,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")) {
--
2.17.1
- [Qemu-stable] [PATCH 19/36] json: Fix % handling when not interpolating, (continued)
- [Qemu-stable] [PATCH 19/36] json: Fix % handling when not interpolating, Michael Roth, 2019/07/23
- [Qemu-stable] [PATCH 27/36] qcow2: Avoid COW during metadata preallocation, Michael Roth, 2019/07/23
- [Qemu-stable] [PATCH 24/36] qga: update docs with systemd suspend support info, Michael Roth, 2019/07/23
- [Qemu-stable] [PATCH 21/36] configure: improve usbfs check, Michael Roth, 2019/07/23
- [Qemu-stable] [PATCH 29/36] block: Fix AioContext switch for bs->drv == NULL, Michael Roth, 2019/07/23
- [Qemu-stable] [PATCH 28/36] cutils: Fix size_to_str() on 32-bit platforms, Michael Roth, 2019/07/23
- [Qemu-stable] [PATCH 14/36] slirp: check sscanf result when emulating ident, Michael Roth, 2019/07/23
- [Qemu-stable] [PATCH 26/36] qemu-img: fix error reporting for -object, Michael Roth, 2019/07/23
- [Qemu-stable] [PATCH 23/36] mac_newworld: use node name instead of alias name for hd device in FWPathProvider, Michael Roth, 2019/07/23
- [Qemu-stable] [PATCH 30/36] do not call vhost_net_cleanup() on running net from char user event, Michael Roth, 2019/07/23
- [Qemu-stable] [PATCH 22/36] mac_oldworld: use node name instead of alias name for hd device in FWPathProvider,
Michael Roth <=
- [Qemu-stable] [PATCH 01/36] i2c: Move typedef of bitbang_i2c_interface to i2c.h, Michael Roth, 2019/07/23
- [Qemu-stable] [PATCH 03/36] Changes requirement for "vsubsbs" instruction, Michael Roth, 2019/07/23
- [Qemu-stable] [PATCH 02/36] iotests: make 235 work on s390 (and others), Michael Roth, 2019/07/23
- [Qemu-stable] [PATCH 06/36] hw/s390x: Fix bad mask in time2tod(), Michael Roth, 2019/07/23
- [Qemu-stable] [PATCH 33/36] iotests: Filter second BLOCK_JOB_ERROR from 229, Michael Roth, 2019/07/23
- [Qemu-stable] [PATCH 05/36] pc:piix4: Update smbus I/O space after a migration, Michael Roth, 2019/07/23
- [Qemu-stable] [PATCH 31/36] s390x/cpumodel: ignore csske for expansion, Michael Roth, 2019/07/23
- [Qemu-stable] [PATCH 34/36] block/file-posix: Unaligned O_DIRECT block-status, Michael Roth, 2019/07/23