From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH v4] KVM: x86: Implement PCID/INVPCID for guests with EPT Date: Thu, 28 Jun 2012 18:49:48 +0300 Message-ID: <4FEC7D1C.9030203@redhat.com> References: <4FEC7CFB.5010001@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: "'kvm@vger.kernel.org'" To: "Mao, Junjie" Return-path: Received: from mx1.redhat.com ([209.132.183.28]:26007 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752813Ab2F1Ptv (ORCPT ); Thu, 28 Jun 2012 11:49:51 -0400 In-Reply-To: <4FEC7CFB.5010001@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On 06/28/2012 06:49 PM, Avi Kivity wrote: > On 06/14/2012 05:04 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. >> Oh, and sorry about the late review. -- error compiling committee.c: too many arguments to function