]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: s390: Support keyless subset guest mode
authorFarhan Ali <alifm@linux.vnet.ibm.com>
Fri, 24 Feb 2017 21:12:56 +0000 (16:12 -0500)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Fri, 21 Apr 2017 09:08:11 +0000 (11:08 +0200)
commit53052d5367fab6a6a9157cc1cebce211a6b0fb95
tree894c8643cbfbaa47b6973cd34a3e054840513e47
parent638798da621fab42545ddf3825c357c3ceace541
KVM: s390: Support keyless subset guest mode

If the KSS facility is available on the machine, we also make it
available for our KVM guests.

The KSS facility bypasses storage key management as long as the guest
does not issue a related instruction. When that happens, the control is
returned to the host, which has to turn off KSS for a guest vcpu
before retrying the instruction.

Signed-off-by: Corey S. McQuay <csmcquay@linux.vnet.ibm.com>
Signed-off-by: Farhan Ali <alifm@linux.vnet.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
arch/s390/include/asm/kvm_host.h
arch/s390/include/uapi/asm/kvm.h
arch/s390/kvm/intercept.c
arch/s390/kvm/kvm-s390.c
arch/s390/kvm/kvm-s390.h
arch/s390/kvm/priv.c
arch/s390/kvm/vsie.c