From: "Jan Beulich" Subject: Re: vMCE vs migration Date: Fri, 03 Feb 2012 14:04:44 +0000 Message-ID: <4F2BF78C0200007800070F50@nat28.tlf.novell.com> References: <4F1D4DCD020000780006E593@nat28.tlf.novell.com> <4F1E9F45020000780006EA5E@nat28.tlf.novell.com> <1327596896.24345.66.camel@elijah> <4F26AD7C020000780006FDC1@nat28.tlf.novell.com> <4F2BA4230200007800070AE0@nat28.tlf.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jinsong Liu Cc: Olaf Hering , "xen-devel@lists.xensource.com" , Ian Campbell , "George.Dunlap@eu.citrix.com" , Yunhong Jiang , Haitao Shan , George Dunlap , Donald D Dugger List-Id: xen-devel@lists.xenproject.org >>> On 03.02.12 at 13:34, "Liu, Jinsong" wrote: > Jan Beulich wrote: >>>>> On 03.02.12 at 08:18, "Liu, Jinsong" wrote: >>> How about use static bank size, say 256, which architecture >>> (IA32_MCG_CAP MSR) defined max bank number? >> >> The maximum, if any, is 32 (beyond which collision with other defined >> MSRs would arise). But with the possibility of having a discontiguous >> or relocated MSR space, I don't think any static maximum would be a >> good idea. >> >> Jan > > The advantages of static max bank is simple, any disadvantages of static > solution? Lack of forward compatibility. I may even be that the use of uint8_t wasn't really a good choice of mine. > or, can we use bank_entry listed in vmce->impact_header for mci_ctl, like what > mci_status/mci_addr/mci_misc do? I don't think so - the control register (obviously) must be accessible independent of any ongoing (latched) MCE. > I just think the patch may be too complicated for a minor issue. Is a guest crash minor? After all there is no guarantee that the accesses to these MSRs are exception handler protected in a way similar to what current Linux does. Jan