From: "Jan Beulich" Subject: Re: One question on mcinfo_extended Date: Tue, 20 Apr 2010 09:38:33 +0100 Message-ID: <4BCD7619020000780005C9B7@vpn.id2.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable 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: yunhong.jiang@intel.com Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org The point of using void* here is that even in a 32-bit Dom0 running on = 64-bit Xen should have access to all registers - I couldn't think of = anything better back then. The implication is that Dom0 side code must be = prepared to deal with that - which I think isn't the case at present. Jan >>> "Jiang, Yunhong" 04/20/10 10:20 AM >>> Hi, Jan, in 19465 changeset, the mcinfo_extended's mc_msr is changed to be = an array of sizeof(void *) * 4. I assume your purpose is to make it works = on both 32 and 64. But will it cause trouble to compatibility mode dom0? = Especially if dom0 copy the information to local variable, and loop the = variable through mcinfo_extended->mc_msrs? Thanks --jyh