summary refs log tree commit diff stats
path: root/hw/pci/pci.c
diff options
context:
space:
mode:
authorMichael Roth <mdroth@linux.vnet.ibm.com>2015-05-07 15:33:48 +1000
committerAlexander Graf <agraf@suse.de>2015-06-03 23:56:53 +0200
commit46503c2bc047bfe8c26440e17298fcbc59d7bbbe (patch)
treee574a90752e0548b854a740a56805e95636a807d /hw/pci/pci.c
parentab316865db8ee97c53cd70c91b1b160c474102f8 (diff)
downloadfocaccia-qemu-46503c2bc047bfe8c26440e17298fcbc59d7bbbe.tar.gz
focaccia-qemu-46503c2bc047bfe8c26440e17298fcbc59d7bbbe.zip
spapr_rtas: add ibm, configure-connector RTAS interface
This interface is used to fetch an OF device-tree nodes that describes a
newly-attached device to guest. It is called multiple times to walk the
device-tree node and fetch individual properties into a 'workarea'/buffer
provided by the guest.

The device-tree is generated by QEMU and passed to an sPAPRDRConnector during
the initial hotplug operation, and the state of these RTAS calls is tracked by
the sPAPRDRConnector. When the last of these properties is successfully
fetched, we report as special return value to the guest and transition
the device to a 'configured' state on the QEMU/DRC side.

See docs/specs/ppc-spapr-hotplug.txt for a complete description of
this interface.

Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'hw/pci/pci.c')
0 files changed, 0 insertions, 0 deletions