path: root/virt
diff options
authorTianyu Lan <Tianyu.Lan@microsoft.com>2018-07-19 08:40:23 +0000
committerPaolo Bonzini <pbonzini@redhat.com>2018-08-06 17:59:07 +0200
commit877ad952be3d51445f6a74dd63708a9327c8f19d (patch)
tree663ac907cf4154268c1a9439b0469d2d5debea27 /virt
parentb08660e59dbdb600c55953787ed2265a0b510f77 (diff)
KVM: vmx: Add tlb_remote_flush callback support
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: Lan Tianyu <Tianyu.Lan@microsoft.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions