diff options
author | Sam bobroff <sam.bobroff@au1.ibm.com> | 2014-06-25 13:54:32 +1000 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2014-06-27 13:48:26 +0200 |
commit | 3b50d8974b979bbaa091978e70d83de939593d1f (patch) | |
tree | 9e02f9bff77b6ac9da3ce9146931c3013cce03ec /include/hw/ppc | |
parent | b907d7b0fdc8b2bbb93a37ac4b5c68a44f22e8ac (diff) | |
download | qemu-3b50d8974b979bbaa091978e70d83de939593d1f.tar.gz qemu-3b50d8974b979bbaa091978e70d83de939593d1f.tar.bz2 qemu-3b50d8974b979bbaa091978e70d83de939593d1f.zip |
spapr: Add RTAS sysparm SPLPAR Characteristics
Add support for the SPLPAR Characteristics parameter to the emulated
RTAS call ibm,get-system-parameter.
The support provides just enough information to allow "cat
/proc/powerpc/lparcfg" to succeed without generating a kernel error
message.
Without this patch the above command will produce the following kernel
message: arch/powerpc/platforms/pseries/lparcfg.c \
parse_system_parameter_string Error calling get-system-parameter \
(0xfffffffd)
Signed-off-by: Sam Bobroff <sam.bobroff@au1.ibm.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'include/hw/ppc')
-rw-r--r-- | include/hw/ppc/spapr.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/ppc/spapr.h b/include/hw/ppc/spapr.h index 46b7a71734..3b6ccd395a 100644 --- a/include/hw/ppc/spapr.h +++ b/include/hw/ppc/spapr.h @@ -398,6 +398,7 @@ static inline int spapr_allocate_lsi(int hint) #define RTAS_TOKEN_MAX (RTAS_TOKEN_BASE + 0x21) /* RTAS ibm,get-system-parameter token values */ +#define RTAS_SYSPARM_SPLPAR_CHARACTERISTICS 20 #define RTAS_SYSPARM_DIAGNOSTICS_RUN_MODE 42 #define RTAS_SYSPARM_UUID 48 |