• A
    spapr: Implement interface to fix device pathname · 71461b0f
    Alexey Kardashevskiy 提交于
    This extends the pseries machine type with the interface to fix firmware
    pathnames for devices which have @bootindex property.
    
    This fixes SCSI disks' device node names (which are wildcard nodes in
    the device-tree), for spapr-vscsi, virtio-scsi and usb-storage.
    
    This fixes PHB name from "pci" to "pci@XXXX" where XXXX is a BUID as
    there is no bus on top of sPAPRPHBState where PHB firmware name could
    be fixed using the BusClass::get_fw_dev_path() mechanism.
    
    This stores the boot list in the /chosen/qemu,boot-list property of
    the device tree. "\n" are replaced by spaces to support OF1275.
    Signed-off-by: NAlexey Kardashevskiy <aik@ozlabs.ru>
    Signed-off-by: NAndreas Färber <afaerber@suse.de>
    71461b0f
spapr.c 46.4 KB