summaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/kvm.h
diff options
context:
space:
mode:
authorVitaly Kuznetsov2018-05-16 17:21:31 +0200
committerRadim Krčmář2018-05-26 15:35:35 +0200
commitc1aea9196ef4f6b64a8ef7e62a933f7e4164aed9 (patch)
tree8e6c26810c55248da4999bf0d9a4133c6c17f2d6 /include/uapi/linux/kvm.h
parentKVM: x86: hyperv: simplistic HVCALL_FLUSH_VIRTUAL_ADDRESS_{LIST,SPACE}_EX imp... (diff)
downloadkernel-qcow2-linux-c1aea9196ef4f6b64a8ef7e62a933f7e4164aed9.tar.gz
kernel-qcow2-linux-c1aea9196ef4f6b64a8ef7e62a933f7e4164aed9.tar.xz
kernel-qcow2-linux-c1aea9196ef4f6b64a8ef7e62a933f7e4164aed9.zip
KVM: x86: hyperv: declare KVM_CAP_HYPERV_TLBFLUSH capability
We need a new capability to indicate support for the newly added HvFlushVirtualAddress{List,Space}{,Ex} hypercalls. Upon seeing this capability, userspace is supposed to announce PV TLB flush features by setting the appropriate CPUID bits (if needed). Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com> Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
Diffstat (limited to 'include/uapi/linux/kvm.h')
-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 b02c41e53d56..b252ceb3965c 100644
--- a/include/uapi/linux/kvm.h
+++ b/include/uapi/linux/kvm.h
@@ -948,6 +948,7 @@ struct kvm_ppc_resize_hpt {
#define KVM_CAP_S390_BPB 152
#define KVM_CAP_GET_MSR_FEATURES 153
#define KVM_CAP_HYPERV_EVENTFD 154
+#define KVM_CAP_HYPERV_TLBFLUSH 155
#ifdef KVM_CAP_IRQ_ROUTING