This patchset is the QEMU counterpart to the patches posted on the OpenBIOS list at https://mail.coreboot.org/pipermail/openbios/2018-August/010422.html which generate correct fw paths for the Mac Old World and New World machines.
With these patches applied QEMU generates the correct fw paths for both the in-built macio IDE and virtio-blk-pci devices enabling support for bootindex and most importantly with an updated OpenBIOS, allowing boot from virtio-pci-blk devices. Signed-off-by: Mark Cave-Ayland <mark.cave-ayl...@ilande.co.uk> Mark Cave-Ayland (7): macio: move MACIOIDEState type declarations to macio.h macio: add macio bus to help with fw path generation macio: add addr property to macio IDE object grackle: set device fw_name and address for correct fw path generation mac_oldworld: implement custom FWPathProvider uninorth: add ofw-addr property to allow correct fw path generation mac_newworld: implement custom FWPathProvider hw/ide/macio.c | 2 ++ hw/misc/macio/macio.c | 42 ++++++++++++++++++++++-------- hw/pci-host/grackle.c | 17 ++++++++++++ hw/pci-host/uninorth.c | 16 ++++++++++++ hw/ppc/mac.h | 26 ------------------- hw/ppc/mac_newworld.c | 59 +++++++++++++++++++++++++++++++++++++++++- hw/ppc/mac_oldworld.c | 59 +++++++++++++++++++++++++++++++++++++++++- include/hw/misc/macio/macio.h | 37 ++++++++++++++++++++++++++ include/hw/pci-host/uninorth.h | 1 + 9 files changed, 220 insertions(+), 39 deletions(-) -- 2.11.0