summaryrefslogtreecommitdiffstats
path: root/arch/x86/Kconfig
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@ozlabs.org>2018-06-07 10:07:06 +0200
committerPaul Mackerras <paulus@ozlabs.org>2018-06-13 01:45:28 +0200
commit4f169d21181faad87a6cdb288742e08c808ec0ef (patch)
tree517501be92513ab61b3d4e873f2b2c0d76bba971 /arch/x86/Kconfig
parentKVM: PPC: Book3S PR: Fix failure status setting in treclaim. emulation (diff)
downloadlinux-4f169d21181faad87a6cdb288742e08c808ec0ef.tar.xz
linux-4f169d21181faad87a6cdb288742e08c808ec0ef.zip
KVM: PPC: Book3S PR: Don't let PAPR guest set MSR hypervisor bit
PAPR guests run in supervisor mode and should not be able to set the MSR HV (hypervisor mode) bit or clear the ME (machine check enable) bit by mtmsrd or any other means. To enforce this, we force MSR_HV off and MSR_ME on in kvmppc_set_msr_pr. Without this, the guest can appear to be in hypervisor mode to itself and to userspace. This has been observed to cause a crash in QEMU when it tries to deliver a system reset interrupt to the guest. Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
Diffstat (limited to 'arch/x86/Kconfig')
0 files changed, 0 insertions, 0 deletions