Re: [PATCH 3/7] KVM: x86: hyper-v: Move the remote TLB flush logic out of vmx

2021-04-08 Thread Vineeth Pillai
On 4/8/21 7:14 AM, Vitaly Kuznetsov wrote: + /* +* Two Dimensional paging CR3 +* EPTP for Intel +* nCR3 for AMD +*/ + u64 tdp_pointer; }; 'struct kvm_vcpu_hv' is only allocated when we emulate Hyper-V in KVM (run Windows/Hyper-V guests on top of KVM).

Re: [PATCH 3/7] KVM: x86: hyper-v: Move the remote TLB flush logic out of vmx

2021-04-08 Thread Vitaly Kuznetsov
Vineeth Pillai writes: > 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 > --- > arch/x86/include/asm/kvm_host.h | 15 + > arch/x86/kvm/hyperv.c | 89

[PATCH 3/7] KVM: x86: hyper-v: Move the remote TLB flush logic out of vmx

2021-04-07 Thread Vineeth Pillai
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 --- arch/x86/include/asm/kvm_host.h | 15 + arch/x86/kvm/hyperv.c | 89 ++ arch/x86/kvm/hyperv.h |