summaryrefslogtreecommitdiffstats
path: root/hw/ppce500_pci.c
diff options
context:
space:
mode:
authorDavid Gibson2012-11-12 17:46:57 +0100
committerAlexander Graf2012-12-14 13:12:54 +0100
commit639e8102ae71ce2e46ebeffc6080767e573c0c56 (patch)
tree5a09de7099446d237dec48b0c9d19ae8c76ca4d0 /hw/ppce500_pci.c
parentpseries: Split xics irq configuration from state information (diff)
downloadqemu-639e8102ae71ce2e46ebeffc6080767e573c0c56.tar.gz
qemu-639e8102ae71ce2e46ebeffc6080767e573c0c56.tar.xz
qemu-639e8102ae71ce2e46ebeffc6080767e573c0c56.zip
pseries: Implement PAPR NVRAM
The PAPR specification requires a certain amount of NVRAM, accessed via RTAS, which we don't currently implement in qemu. This patch addresses this deficiency, implementing the NVRAM as a VIO device, with some glue to instantiate it automatically based on a machine option. The machine option specifies a drive id, which is used to back the NVRAM, making it persistent. If nothing is specified, the driver instead simply allocates space for the NVRAM, which will not be persistent Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'hw/ppce500_pci.c')
0 files changed, 0 insertions, 0 deletions