summary refs log tree commit diff stats
path: root/ui/spice-input.c
diff options
context:
space:
mode:
authorAlexey Kardashevskiy <aik@ozlabs.ru>2014-03-17 13:40:27 +1100
committerAndreas Färber <afaerber@suse.de>2014-03-20 02:40:26 +0100
commit71461b0fef53467d2a85dbd72304dba0e01d8370 (patch)
treeb08d047217e96574af9b4f8e066f136017ce8c2b /ui/spice-input.c
parent29ee324740fa7af4b7cf0ce9295a07296e9a0f24 (diff)
downloadfocaccia-qemu-71461b0fef53467d2a85dbd72304dba0e01d8370.tar.gz
focaccia-qemu-71461b0fef53467d2a85dbd72304dba0e01d8370.zip
spapr: Implement interface to fix device pathname
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: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'ui/spice-input.c')
0 files changed, 0 insertions, 0 deletions