]> 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)
commitea13161ead1e0a11304ebdae5f7676dc005f5ab8
tree894c8643cbfbaa47b6973cd34a3e054840513e47
parent41eb4c0aab9820574658a542aa05088d1f065bff
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