On 05/10/2012 03:32 AM, Mao, Junjie wrote: > 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. > btw, please post a unit test for basic functionality - enabling cr4.pcide etc. -- error compiling committee.c: too many arguments to function -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html