From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: KVM: x86: verify MTRR/PAT validity Date: Wed, 24 Jun 2009 13:00:20 +0300 Message-ID: <4A41F934.9010905@redhat.com> References: <20090616120529.GA529@amt.cnet> <200906181039.33205.sheng.yang@intel.com> <20090622182756.GA8582@amt.cnet> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "Yang, Sheng" , kvm To: Marcelo Tosatti Return-path: Received: from mx2.redhat.com ([66.187.237.31]:47200 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751409AbZFXJ7T (ORCPT ); Wed, 24 Jun 2009 05:59:19 -0400 In-Reply-To: <20090622182756.GA8582@amt.cnet> Sender: kvm-owner@vger.kernel.org List-ID: On 06/22/2009 09:27 PM, Marcelo Tosatti wrote: > > This in the BIOS is writing 1's into the reserved address bits into > variable MTRR: > > wrmsr_smp(MTRRphysMask_MSR(0), ~(0x20000000ull - 1) | 0x800); > > So i'll leave just memory type validity checking and MSR_MTRRdefType > valid bit checks in for now: > Applied, thanks. -- error compiling committee.c: too many arguments to function