]> git.proxmox.com Git - mirror_qemu.git/commit - include/hw/ppc/spapr.h
spapr-rtas: add ibm, (get|set)-system-parameter
authorAlexey Kardashevskiy <aik@ozlabs.ru>
Tue, 19 Nov 2013 04:28:55 +0000 (15:28 +1100)
committerAlexander Graf <agraf@suse.de>
Fri, 20 Dec 2013 00:57:59 +0000 (01:57 +0100)
commit3ada6b113726ae554154f6e5367bf4b4ed110bbe
tree1ccd34c7992cfefaaf88ba2c6b00469cae1128f0
parenta64d325df1ce9b554e15d612b80775159cc4d7a6
spapr-rtas: add ibm, (get|set)-system-parameter

This adds very basic handlers for ibm,get-system-parameter and
ibm,set-system-parameter RTAS calls.

The only parameter handled at the moment is
"platform-processor-diagnostics-run-mode" which is always disabled and
does not support changing. This is expected to make
"ppc64_cpu --run-mode=1" happy.

Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
[agraf: s/papameter/parameter/g]
Signed-off-by: Alexander Graf <agraf@suse.de>
hw/ppc/spapr_rtas.c
include/hw/ppc/spapr.h