From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH] KVM: VMX: Set IGMT bit in EPT entry Date: Thu, 06 Nov 2008 14:54:31 +0200 Message-ID: <4912E907.7090403@redhat.com> References: <1225954545-8280-1-git-send-email-sheng@linux.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org To: Sheng Yang Return-path: Received: from mx2.redhat.com ([66.187.237.31]:54513 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753430AbYKFMyg (ORCPT ); Thu, 6 Nov 2008 07:54:36 -0500 In-Reply-To: <1225954545-8280-1-git-send-email-sheng@linux.intel.com> Sender: kvm-owner@vger.kernel.org List-ID: Sheng Yang wrote: > (Patch for 2.6.27, based on kvm-updates/2.6.27) > > There is a potential issue that, when guest using pagetable without vmexit when > EPT enabled, guest would use PAT/PCD/PWT bits to index PAT msr for it's memory, > which would be inconsistent with host side and would cause host MCE due to > inconsistent cache attribute. > > The patch set IGMT bit in EPT entry to ignore guest PAT and use WB as default > memory type to protect host (notice that all memory mapped by KVM should be WB). > Applied, thanks. (I applied it to 2.6.28; in general -stable does not accept patches until they have been merged into mainline) -- error compiling committee.c: too many arguments to function