diff options
author | Nikunj A Dadhania | 2014-06-30 10:35:29 +0200 |
---|---|---|
committer | Alexander Graf | 2014-09-08 12:50:45 +0200 |
commit | 2e14072f9e859272c7b94b8e189bd30bb4954aa1 (patch) | |
tree | 9c9385e8abab0143993505fdfddf0bd9bd21e906 /include | |
parent | PPC: KVM: Fix g3beige and mac99 when HV is loaded (diff) | |
download | qemu-2e14072f9e859272c7b94b8e189bd30bb4954aa1.tar.gz qemu-2e14072f9e859272c7b94b8e189bd30bb4954aa1.tar.xz qemu-2e14072f9e859272c7b94b8e189bd30bb4954aa1.zip |
ppc: spapr-rtas - implement os-term rtas call
PAPR compliant guest calls this in absence of kdump. This finally
reaches the guest and can be handled according to the policies set by
higher level tools(like taking dump) for further analysis by tools like
crash.
Linux kernel calls ibm,os-term when extended property of os-term is set.
This makes sure that a return to the linux kernel is gauranteed.
Signed-off-by: Nikunj A Dadhania <nikunj@linux.vnet.ibm.com>
[agraf: reduce RTAS_TOKEN_MAX]
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/hw/ppc/spapr.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/hw/ppc/spapr.h b/include/hw/ppc/spapr.h index bbba51a703..7fff9794f7 100644 --- a/include/hw/ppc/spapr.h +++ b/include/hw/ppc/spapr.h @@ -382,9 +382,8 @@ int spapr_allocate_irq_block(int num, bool lsi, bool msi); #define RTAS_GET_SENSOR_STATE (RTAS_TOKEN_BASE + 0x1D) #define RTAS_IBM_CONFIGURE_CONNECTOR (RTAS_TOKEN_BASE + 0x1E) #define RTAS_IBM_OS_TERM (RTAS_TOKEN_BASE + 0x1F) -#define RTAS_IBM_EXTENDED_OS_TERM (RTAS_TOKEN_BASE + 0x20) -#define RTAS_TOKEN_MAX (RTAS_TOKEN_BASE + 0x21) +#define RTAS_TOKEN_MAX (RTAS_TOKEN_BASE + 0x20) /* RTAS ibm,get-system-parameter token values */ #define RTAS_SYSPARM_SPLPAR_CHARACTERISTICS 20 |