mac_oldworld: implement custom FWPathProvider
commitbbcc635fcdf3050b08ec67726e2f5e9d206e876d
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Wed, 29 Aug 2018 16:59:09 +0000 (29 17:59 +0100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Thu, 30 Aug 2018 00:42:18 +0000 (30 10:42 +1000)
treeea845ce576435e6b2510fb3c8a4d08302de3b6bd
parentac43eb2e1397e897660384fef24f633fcdb3255d
mac_oldworld: implement custom FWPathProvider

This enables the correct generation of bootdevice fw paths for in-built IDE
and virtio-pci-blk devices suitable for OpenBIOS.

Note we also set the MachineClass ignore_boot_device_suffixes property to true
since an additional disk node should not be added except for virtio devices.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/ppc/mac_oldworld.c