summaryrefslogtreecommitdiff
path: root/hw/ppc/ppc4xx_devs.c
diff options
context:
space:
mode:
authorMichael Roth <mdroth@linux.vnet.ibm.com>2015-05-07 15:33:43 +1000
committerAlexander Graf <agraf@suse.de>2015-06-03 23:56:52 +0200
commitbbf5c878ab76a74f6277f99082c77bbdb1ad4c5b (patch)
tree6bb89f4c1f6ae0da0b54762a9a538e4db0873fa6 /hw/ppc/ppc4xx_devs.c
parent11eec063f29733395846ba756ecd544876ef6839 (diff)
downloadqemu-bbf5c878ab76a74f6277f99082c77bbdb1ad4c5b.tar.gz
qemu-bbf5c878ab76a74f6277f99082c77bbdb1ad4c5b.tar.bz2
qemu-bbf5c878ab76a74f6277f99082c77bbdb1ad4c5b.zip
spapr_drc: initial implementation of sPAPRDRConnector device
This device emulates a firmware abstraction used by pSeries guests to manage hotplug/dynamic-reconfiguration of host-bridges, PCI devices, memory, and CPUs. It is conceptually similar to an SHPC device, complete with LED indicators to identify individual slots to physical physical users and indicate when it is safe to remove a device. In some cases it is also used to manage virtualized resources, such a memory, CPUs, and physical-host bridges, which in the case of pSeries guests are virtualized resources where the physical components are managed by the host. Guests communicate with these DR Connectors using RTAS calls, generally by addressing the unique DRC index associated with a particular connector for a particular resource. For introspection purposes we expose this state initially as QOM properties, and in subsequent patches will introduce the RTAS calls that make use of it. This constitutes to the 'guest' interface. On the QEMU side we provide an attach/detach interface to associate or cleanup a DeviceState with a particular sPAPRDRConnector in response to hotplug/unplug, respectively. This constitutes the 'physical' interface to the DR Connector. Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com> Reviewed-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'hw/ppc/ppc4xx_devs.c')
0 files changed, 0 insertions, 0 deletions