KVM: s390: pv: support for Destroy fast UVC
authorClaudio Imbrenda <imbrenda@linux.ibm.com>
Fri, 11 Nov 2022 17:06:31 +0000 (18:06 +0100)
committerJanosch Frank <frankja@linux.ibm.com>
Wed, 23 Nov 2022 09:06:50 +0000 (09:06 +0000)
commitf7866f582b1c9d80d1a3bd0953170185668c52ca
tree27ad4e5d80b1c8d92db1e63c25ff9edbe79cc323
parentafe20eb8df9108e4be9bdec88a4f90d2de863ca2
KVM: s390: pv: support for Destroy fast UVC

Add support for the Destroy Secure Configuration Fast Ultravisor call,
and take advantage of it for asynchronous destroy.

When supported, the protected guest is destroyed immediately using the
new UVC, leaving only the memory to be cleaned up asynchronously.

Signed-off-by: Claudio Imbrenda <imbrenda@linux.ibm.com>
Reviewed-by: Nico Boehr <nrb@linux.ibm.com>
Reviewed-by: Janosch Frank <frankja@linux.ibm.com>
Reviewed-by: Steffen Eiden <seiden@linux.ibm.com>
Link: https://lore.kernel.org/r/20221111170632.77622-6-imbrenda@linux.ibm.com
Message-Id: <20221111170632.77622-6-imbrenda@linux.ibm.com>
Signed-off-by: Janosch Frank <frankja@linux.ibm.com>
arch/s390/include/asm/uv.h
arch/s390/kvm/pv.c