Here is a patchset that contains the preparatory work to enable upcoming
bootindex support in OpenBIOS for SPARC64/PPC.
Patch 1 enables the OFW address generated via the sysbus explicit_ofw_unit_address()
method to always take precendence when generating fw paths, and has already been
discussed on-list with a R-B from Laszlo.
Patch 2 may require further review and discussion and is a consequence of older
device trees having irregular naming conventions for disk nodes. Rather than add
extra string handling complexity in OpenBIOS for handling "/disk" nodes on a
per-interface basis, it is much easier to provide a per-machine option to remove
them completely for these machines and handle the logic in QEMU via a custom
FWPathProvider instead.
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Mark Cave-Ayland (2):
sysbus: always allow explicit_ofw_unit_address() to override address
generation
fw_cfg: set the get_boot_devices_list() ignore_suffixes parameter from
machine property
hw/core/machine.c | 3 +++
hw/core/sysbus.c | 15 +++++++--------
hw/nvram/fw_cfg.c | 5 ++++-
include/hw/boards.h | 1 +
4 files changed, 15 insertions(+), 9 deletions(-)
--
2.11.0