]> git.baikalelectronics.ru Git - kernel.git/commit
s390/uv: introduce guest side ultravisor code
authorVasily Gorbik <gor@linux.ibm.com>
Mon, 1 Apr 2019 17:11:03 +0000 (19:11 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 10 Apr 2019 15:47:21 +0000 (17:47 +0200)
commit5a6cf2bf5c59b3814a3c0e7be467ec9038ab4cdf
tree5ed221cbfec7483c3438f3ddd6a76829a5812c58
parent24c70a460b5ff86f38908a5b32f769608cb6f8e6
s390/uv: introduce guest side ultravisor code

The Ultravisor Call Facility (stfle bit 158) defines an API to the
Ultravisor (UV calls), a mini hypervisor located at machine
level. With help of the Ultravisor, KVM will be able to run
"protected" VMs, special VMs whose memory and management data are
unavailable to KVM.

The protected VMs can also request services from the Ultravisor.
The guest api consists of UV calls to share and unshare memory with the
kvm hypervisor.

To enable this feature support PROTECTED_VIRTUALIZATION_GUEST kconfig
option has been introduced.

Co-developed-by: Janosch Frank <frankja@de.ibm.com>
Signed-off-by: Janosch Frank <frankja@de.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/Kconfig
arch/s390/boot/Makefile
arch/s390/boot/startup.c
arch/s390/boot/uv.c [new file with mode: 0644]
arch/s390/include/asm/uv.h [new file with mode: 0644]
arch/s390/kernel/setup.c