From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dave Jones Subject: Re: [PATCH] x86info: mtrr.c return if MTRR registers are not accessible Date: Sat, 30 May 2009 10:18:16 -0400 Message-ID: <20090530141816.GA17484@redhat.com> References: <1243688918.3623.4.camel@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Avi Kivity , KVM list To: Jaswinder Singh Rajput Return-path: Received: from mx2.redhat.com ([66.187.237.31]:51322 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758943AbZE3O0Q (ORCPT ); Sat, 30 May 2009 10:26:16 -0400 Content-Disposition: inline In-Reply-To: <1243688918.3623.4.camel@localhost.localdomain> Sender: kvm-owner@vger.kernel.org List-ID: On Sat, May 30, 2009 at 06:38:38PM +0530, Jaswinder Singh Rajput wrote: > > In some virtualization systems like KVM where MTRR registers > are not accessible output looks like : > > MTRR registers: > MTRRcap (0xfe): MTRRphysBase0 (0x200): MTRRphysMask0 (0x201): MTRRphysBase1 (0x202): MTRRphysMask1 (0x203): MTRRphysBase2 (0x204): MTRRphysMask2 (0x205): MTRRphysBase3 (0x206): MTRRphysMask3 (0x207): MTRRphysBase4 (0x208): MTRRphysMask4 (0x209): MTRRphysBase5 (0x20a): MTRRphysMask5 (0x20b): MTRRphysBase6 (0x20c): MTRRphysMask6 (0x20d): MTRRphysBase7 (0x20e): MTRRphysMask7 (0x20f): MTRRfix64K_00000 (0x250): MTRRfix16K_80000 (0x258): MTRRfix16K_A0000 (0x259): MTRRfix4K_C8000 (0x269): MTRRfix4K_D0000 0x26a: MTRRfix4K_D8000 0x26b: MTRRfix4K_E0000 0x26c: MTRRfix4K_E8000 0x26d: MTRRfix4K_F0000 0x26e: MTRRfix4K_F8000 0x26f: MTRRdefType (0x2ff): > > So better return for those cases. > > Signed-off-by: Jaswinder Singh Rajput Thanks, applied. Dave