KVM: x86: hyperv: simplistic HVCALL_FLUSH_VIRTUAL_ADDRESS_{LIST,SPACE} implementation
commite2f11f42824bf2d906468a94888718ae24bf0270
authorVitaly Kuznetsov <vkuznets@redhat.com>
Wed, 16 May 2018 15:21:29 +0000 (16 17:21 +0200)
committerRadim Krčmář <rkrcmar@redhat.com>
Sat, 26 May 2018 12:14:33 +0000 (26 14:14 +0200)
tree5959cdfd1bca0b0277fef8037570cc6a4603dffa
parent7053df4edb3ae3ae15c316fe49122c0b3936e9dd
KVM: x86: hyperv: simplistic HVCALL_FLUSH_VIRTUAL_ADDRESS_{LIST,SPACE} implementation

Implement HvFlushVirtualAddress{List,Space} hypercalls in a simplistic way:
do full TLB flush with KVM_REQ_TLB_FLUSH and kick vCPUs which are currently
IN_GUEST_MODE.

Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/hyperv.c
arch/x86/kvm/trace.h