From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH 0/7] Enable MTRR/PAT support for KVM EPT(v2) Date: Wed, 08 Oct 2008 12:23:11 +0200 Message-ID: <48EC8A0F.3060105@redhat.com> References: <1223439478-26515-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]:51806 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755597AbYJHKXR (ORCPT ); Wed, 8 Oct 2008 06:23:17 -0400 In-Reply-To: <1223439478-26515-1-git-send-email-sheng@linux.intel.com> Sender: kvm-owner@vger.kernel.org List-ID: Sheng Yang wrote: > Hi, Avi > > Here is the update patchset of enable MTRR/PAT support for KVM, and the last > patch enabled EPT support. The shadow support would follow later, I am still > doing some clean up work. > > The change from v1 including bug fix and rename of GUEST_PAT support according > to the newly published spec. For MTRR, I reuse host mtrr struct rather than > duplicate the part of work. This is mostly for the preparation of shadow > MTRR/PAT support. > > I think last time you mentioned you have a draft patch for extra MSR > save/restore on hand? If you are busy on other things, I can take it over. > Looks good; we just need to clear up the per-vcpu msr bitmap issue. Regarding msr save/restore, please look at msrs_to_save[] in x86.c. -- I have a truly marvellous patch that fixes the bug which this signature is too narrow to contain.