• Vineeth Pillai's avatar
    KVM: SVM: hyper-v: Direct Virtual Flush support · 1183646a
    Vineeth Pillai authored
    From Hyper-V TLFS:
     "The hypervisor exposes hypercalls (HvFlushVirtualAddressSpace,
      HvFlushVirtualAddressSpaceEx, HvFlushVirtualAddressList, and
      HvFlushVirtualAddressListEx) that allow operating systems to more
      efficiently manage the virtual TLB. The L1 hypervisor can choose to
      allow its guest to use those hypercalls and delegate the responsibility
      to handle them to the L0 hypervisor. This requires the use of a
      partition assist page."
    
    Add the Direct Virtual Flush support for SVM.
    
    Related VMX changes:
    commit 6f6a657c ("KVM/Hyper-V/VMX: Add direct tlb flush support")
    Signed-off-by: default avatarVineeth Pillai <viremana@linux.microsoft.com>
    Message-Id: <fc8d24d8eb7017266bb961e39a171b0caf298d7f.1622730232.git.viremana@linux.microsoft.com>
    Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
    1183646a
svm_onhyperv.c 961 Bytes