diff options
author | Sam bobroff | 2014-06-25 05:54:31 +0200 |
---|---|---|
committer | Alexander Graf | 2014-06-27 13:48:26 +0200 |
commit | b907d7b0fdc8b2bbb93a37ac4b5c68a44f22e8ac (patch) | |
tree | 7179960c213829716f0bdb674a3b5035e08ff6b5 /include/hw/ppc/spapr.h | |
parent | spapr: Fix RTAS sysparm DIAGNOSTICS_RUN_MODE (diff) | |
download | qemu-b907d7b0fdc8b2bbb93a37ac4b5c68a44f22e8ac.tar.gz qemu-b907d7b0fdc8b2bbb93a37ac4b5c68a44f22e8ac.tar.xz qemu-b907d7b0fdc8b2bbb93a37ac4b5c68a44f22e8ac.zip |
spapr: Add RTAS sysparm UUID
Add support for the UUID parameter to the emulated RTAS call
ibm,get-system-parameter.
Return the guest's UUID as the value for the RTAS UUID system
parameter, or null (a zero length result) if it is not set.
Signed-off-by: Sam Bobroff <sam.bobroff@au1.ibm.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'include/hw/ppc/spapr.h')
-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 d043771616..46b7a71734 100644 --- a/include/hw/ppc/spapr.h +++ b/include/hw/ppc/spapr.h @@ -399,6 +399,7 @@ static inline int spapr_allocate_lsi(int hint) /* RTAS ibm,get-system-parameter token values */ #define RTAS_SYSPARM_DIAGNOSTICS_RUN_MODE 42 +#define RTAS_SYSPARM_UUID 48 /* Possible values for the platform-processor-diagnostics-run-mode parameter * of the RTAS ibm,get-system-parameter call. |