From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH v5] KVM: x86: Implement PCID/INVPCID for guests with EPT Date: Thu, 12 Jul 2012 13:07:42 +0300 Message-ID: <4FFEA1EE.1090502@redhat.com> References: 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]:4713 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752578Ab2GLKHq (ORCPT ); Thu, 12 Jul 2012 06:07:46 -0400 In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: On 07/02/2012 04:18 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. > Thanks, applied. -- error compiling committee.c: too many arguments to function