From: "Ky Srinivasan" Subject: Re: 32bit HVM on 64 bit hypervisor Date: Mon, 23 Apr 2007 11:11:29 -0600 Message-ID: <462CA04E.E57C.0030.0@novell.com> References: <462C9B9A.E57C.0030.0@novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable 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: Keir Fraser , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Thanks Kier. I will give this a shot.=20 K. Y >>> On Mon, Apr 23, 2007 at 1:08 PM, in message , Keir Fraser wrote:=20 > On 23/4/07 17:51, "Ky Srinivasan" wrote: >=20 >> I am looking at some PV driver issues we are seeing with 32 bit HVM = guests >> hosted on 64 bit hypervisor. It looks like the problem can be traced to = the >> fact that the hypervisor's view of the shared info structure is = different=20 > from >> the PV drivers view - The PV driver is built for a 32 bit environment = while >> the hypervisor is built for a 64 bit environment. Specifically, the = offset=20 > for >> the field evtchn_mask is different as seen by the PV drivers compared = to=20 > what >> the hypervisor thinks it is. How is this issue supposed to be dealt = with. >=20 > We probably need to extend the IS_COMPAT() macro to apply to HVM guests. = Set > a flag in the domain structure as soon as any VCPU enters long mode. = Then > use the existing vcpu_info and shared_info access macros that Jan = introduced > for PV PAE- on- 64. >=20 > -- Keir