From: Keir Fraser Subject: Re: [PATCH] vmx: last branch recording MSR emulation Date: Thu, 09 Aug 2007 14:20:23 +0100 Message-ID: References: <46BB2D41.76E4.0078.0@novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <46BB2D41.76E4.0078.0@novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jan Beulich Cc: Xin B Li , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 9/8/07 14:05, "Jan Beulich" wrote: > The default of reading native registers is of course very questionable, but > it's been that way for so long that I didn't dare to kill this, as I'm > suspecting > that booting some, if not all, OSes without this would not work. And the then > likely resulting incrementally adding of emulation for individual MSRs on an > empirical basis is something that I consider, as pointed out on other similar > occasions like the MMIO instruction decoder, very wrong for code that is no > longer in a proof-of-concept state. Doing it the current way you get bitten when host MSRs contain unexpected values. This is why the MCE/MCA MSR handling got added -- some guests were getting confused, and thius crashing, on one particular host type that we hadn't tested on before. We're just storing up trouble for the future. -- Keir