• T
    KVM: vmx: Add tlb_remote_flush callback support · 877ad952
    Tianyu Lan 提交于
    Register tlb_remote_flush callback for vmx when hyperv capability of
    nested guest mapping flush is detected. The interface can help to
    reduce overhead when flush ept table among vcpus for nested VM. The
    tradition way is to send IPIs to all affected vcpus and executes
    INVEPT on each vcpus. It will trigger several vmexits for IPI
    and INVEPT emulation. Hyper-V provides such hypercall to do
    flush for all vcpus and call the hypercall when all ept table
    pointers of single VM are same.
    Signed-off-by: NLan Tianyu <Tianyu.Lan@microsoft.com>
    Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
    877ad952
vmx.c 390.9 KB