KVM: x86: hyperv: declare KVM_CAP_HYPERV_TLBFLUSH capability
authorVitaly Kuznetsov <vkuznets@redhat.com>
Wed, 16 May 2018 15:21:31 +0000 (17:21 +0200)
committerRadim Krčmář <rkrcmar@redhat.com>
Sat, 26 May 2018 13:35:35 +0000 (15:35 +0200)
commitc1aea9196ef4f6b64a8ef7e62a933f7e4164aed9
tree8e6c26810c55248da4999bf0d9a4133c6c17f2d6
parentc70126764bf09c5dd95527808b647ec347b8a822
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>
Documentation/virtual/kvm/api.txt
arch/x86/kvm/x86.c
include/uapi/linux/kvm.h