diff options
author | Vitaly Kuznetsov <vkuznets@redhat.com> | 2018-05-16 17:21:29 +0200 |
---|---|---|
committer | Radim Krčmář <rkrcmar@redhat.com> | 2018-05-26 14:14:33 +0200 |
commit | e2f11f42824bf2d906468a94888718ae24bf0270 (patch) | |
tree | 5959cdfd1bca0b0277fef8037570cc6a4603dffa /arch/x86/include | |
parent | 7053df4edb3ae3ae15c316fe49122c0b3936e9dd (diff) | |
download | linux-stable-e2f11f42824bf2d906468a94888718ae24bf0270.tar.gz linux-stable-e2f11f42824bf2d906468a94888718ae24bf0270.tar.bz2 linux-stable-e2f11f42824bf2d906468a94888718ae24bf0270.zip |
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>
Diffstat (limited to 'arch/x86/include')
-rw-r--r-- | arch/x86/include/asm/kvm_host.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/include/asm/kvm_host.h b/arch/x86/include/asm/kvm_host.h index b27de80f5870..0ebe659f2802 100644 --- a/arch/x86/include/asm/kvm_host.h +++ b/arch/x86/include/asm/kvm_host.h @@ -477,6 +477,7 @@ struct kvm_vcpu_hv { struct kvm_hyperv_exit exit; struct kvm_vcpu_hv_stimer stimer[HV_SYNIC_STIMER_COUNT]; DECLARE_BITMAP(stimer_pending_bitmap, HV_SYNIC_STIMER_COUNT); + cpumask_t tlb_lush; }; struct kvm_vcpu_arch { |