aboutsummaryrefslogtreecommitdiff
path: root/include/uapi/linux
diff options
context:
space:
mode:
authorPierre Morel <[email protected]>2022-07-14 21:43:34 +0200
committerJanosch Frank <[email protected]>2022-07-20 10:57:37 +0200
commitf5ecfee94493475783074e86ded10a0499d779fc (patch)
tree996d75fb3e60b1c3230ee472148703f87a938605 /include/uapi/linux
parent24fe0195bc19306b2769b43b3e22bd35bd6fb061 (diff)
KVM: s390: resetting the Topology-Change-Report
During a subsystem reset the Topology-Change-Report is cleared. Let's give userland the possibility to clear the MTCR in the case of a subsystem reset. To migrate the MTCR, we give userland the possibility to query the MTCR state. We indicate KVM support for the CPU topology facility with a new KVM capability: KVM_CAP_S390_CPU_TOPOLOGY. Signed-off-by: Pierre Morel <[email protected]> Reviewed-by: Janis Schoetterl-Glausch <[email protected]> Reviewed-by: Janosch Frank <[email protected]> Message-Id: <[email protected]> Link: https://lore.kernel.org/all/[email protected]/ [[email protected]: Simple conflict resolution in Documentation/virt/kvm/api.rst] Signed-off-by: Janosch Frank <[email protected]>
Diffstat (limited to 'include/uapi/linux')
-rw-r--r--include/uapi/linux/kvm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/kvm.h b/include/uapi/linux/kvm.h
index 20817dd7f2f1..7e06194129e3 100644
--- a/include/uapi/linux/kvm.h
+++ b/include/uapi/linux/kvm.h
@@ -1168,6 +1168,7 @@ struct kvm_ppc_resize_hpt {
#define KVM_CAP_X86_NOTIFY_VMEXIT 219
#define KVM_CAP_VM_DISABLE_NX_HUGE_PAGES 220
#define KVM_CAP_S390_ZPCI_OP 221
+#define KVM_CAP_S390_CPU_TOPOLOGY 222
#ifdef KVM_CAP_IRQ_ROUTING