]> git.dujemihanovic.xyz Git - linux.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)
commit5abb9351dfd937d43193f4d09af9c72bfe2c4180
tree5ed221cbfec7483c3438f3ddd6a76829a5812c58
parentfd184e1a8b650159ca553c53dd0fee75df799b4a
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