lkml.org 
[lkml]   [2021]   [Apr]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 5/7] KVM: SVM: hyper-v: Remote TLB flush for SVM
From
Date

On 4/8/21 7:18 AM, Vitaly Kuznetsov wrote:
>
>> enable_gif(svm);
>> @@ -3967,6 +3999,9 @@ static void svm_load_mmu_pgd(struct kvm_vcpu *vcpu, unsigned long root,
>> svm->vmcb->control.nested_cr3 = cr3;
>> vmcb_mark_dirty(svm->vmcb, VMCB_NPT);
>>
>> + if (kvm_x86_ops.tlb_remote_flush)
>> + kvm_update_arch_tdp_pointer(vcpu->kvm, vcpu, cr3);
>> +
> VMX has "#if IS_ENABLED(CONFIG_HYPERV)" around this, should we add it
> here too?
Agreed. Will fix.

Thanks,
Vineeth

\
 
 \ /
  Last update: 2021-04-08 15:20    [W:0.040 / U:1.780 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site