• M
    KVM: VMX: Implement PCID/INVPCID for guests with EPT · ad756a16
    Mao, Junjie 提交于
    This patch handles PCID/INVPCID for guests.
    
    Process-context identifiers (PCIDs) are a facility by which a logical processor
    may cache information for multiple linear-address spaces so that the processor
    may retain cached information when software switches to a different linear
    address space. Refer to section 4.10.1 in IA32 Intel Software Developer's Manual
    Volume 3A for details.
    
    For guests with EPT, the PCID feature is enabled and INVPCID behaves as running
    natively.
    For guests without EPT, the PCID feature is disabled and INVPCID triggers #UD.
    Signed-off-by: NJunjie Mao <junjie.mao@intel.com>
    Signed-off-by: NAvi Kivity <avi@redhat.com>
    ad756a16
kvm_host.h 27.3 KB