From: "Jan Beulich" Subject: vMCE vs migration Date: Mon, 23 Jan 2012 11:08:45 +0000 Message-ID: <4F1D4DCD020000780006E593@nat28.tlf.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: 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: "xen-devel@lists.xensource.com" Cc: Olaf Hering List-Id: xen-devel@lists.xenproject.org x86's vMCE implementation lets a guest know of as many MCE reporting banks as there are in the host. While a PV guest could be expected to deal with this number changing (particularly decreasing) during migration (not currently handled anywhere afaict), for HVM guests this is certainly wrong. At least to me it isn't, however, clear how to properly handle this. The easiest would appear to be to save and restore the number of banks the guest was made believe it can access, making vmce_{rd,wr}msr() silently tolerate accesses between the host and guest values. Any thoughts appreciated, Jan