]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
KVM: x86: hyper-v: Move the remote TLB flush logic out of vmx
authorVineeth Pillai <viremana@linux.microsoft.com>
Thu, 3 Jun 2021 15:14:36 +0000 (15:14 +0000)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 17 Jun 2021 17:09:36 +0000 (13:09 -0400)
commit3c86c0d3dbb98865a60a0c9d5c3a229af15a8a96
treeb8fa9fed44dbb3ce435ccc00eebe4fa943cca050
parent32431fb2538df56693a5852a50013549c827f57c
KVM: x86: hyper-v: Move the remote TLB flush logic out of vmx

Currently the remote TLB flush logic is specific to VMX.
Move it to a common place so that SVM can use it as well.

Signed-off-by: Vineeth Pillai <viremana@linux.microsoft.com>
Message-Id: <4f4e4ca19778437dae502f44363a38e99e3ef5d1.1622730232.git.viremana@linux.microsoft.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/Makefile
arch/x86/kvm/kvm_onhyperv.c [new file with mode: 0644]
arch/x86/kvm/kvm_onhyperv.h [new file with mode: 0644]
arch/x86/kvm/vmx/vmx.c
arch/x86/kvm/vmx/vmx.h
arch/x86/kvm/x86.c