mac_newworld: implement custom FWPathProvider
commit5d19be6c705ab827313dd76ec09fc6e1d6771bc8
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Wed, 29 Aug 2018 16:59:11 +0000 (29 17:59 +0100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Thu, 30 Aug 2018 00:42:18 +0000 (30 10:42 +1000)
treee741820b91f0b586ac4e5fa911215116250c48de
parent03756c840e6e50f37c66a8c388f31cd59c5fdeb4
mac_newworld: 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_newworld.c