]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: s390: gs support for kvm guests
authorFan Zhang <zhangfan@linux.vnet.ibm.com>
Tue, 29 Nov 2016 06:17:55 +0000 (07:17 +0100)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Wed, 22 Mar 2017 17:59:33 +0000 (18:59 +0100)
commitaa5c9fd1d2280a042b25ef6abd48f5e640cd879c
tree4d4d05d417d222e02dba5c82955bf0eb1c19313d
parentc128926e2ca3151a4e614f7793318adb3cf55e39
KVM: s390: gs support for kvm guests

This patch adds guarded storage support for KVM guest. We need to
setup the necessary control blocks, the kvm_run structure for the
new registers, the necessary wrappers for VSIE, as well as the
machine check save areas.
GS is enabled lazily and the register saving and reloading is done in
KVM code.  As this feature adds new content for migration, we provide
a new capability for enablement (KVM_CAP_S390_GS).

Signed-off-by: Fan Zhang <zhangfan@linux.vnet.ibm.com>
Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com>
Reviewed-by: Janosch Frank <frankja@linux.vnet.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Documentation/virtual/kvm/api.txt
arch/s390/include/asm/kvm_host.h
arch/s390/include/uapi/asm/kvm.h
arch/s390/kvm/intercept.c
arch/s390/kvm/interrupt.c
arch/s390/kvm/kvm-s390.c
arch/s390/kvm/kvm-s390.h
arch/s390/kvm/priv.c
arch/s390/kvm/vsie.c
include/uapi/linux/kvm.h