From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keir Fraser Subject: Re: Xen 4.0 is broken on 32bit Date: Thu, 8 Jul 2010 10:05:54 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "Huang2, Wei" , Tim Deegan Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org Should be fixed by xen-unstable:21751 and xen-4.0-testing:21258. -- Keir On 08/07/2010 00:04, "Huang2, Wei" wrote: > The changset 21229 breaks Xen 4.0.1 tree on 32bit environment. Starting a > guest VM will throw out an error as =B3Error: (38, =8CFunction not implemente= d=B9)=B2. > Apparently, the hypercall to mem_sharing_op is missing for 32bit environm= ent > due to 21229. The following small patch can fix this issue. > =20 > Thanks, > -Wei > =20 > =20 > =20 > diff -r afe5a6a8b8df xen/arch/x86/domctl.c > --- a/xen/arch/x86/domctl.c Fri Jul 02 22:04:32 2010 +0100 > +++ b/xen/arch/x86/domctl.c Wed Jul 07 11:51:26 2010 -0500 > @@ -1449,6 +1449,11 @@ > }=20 > } > break; > +#else > + case XEN_DOMCTL_mem_event_op: > + case XEN_DOMCTL_mem_sharing_op: > + ret =3D 0; > + break; > #endif /* __x86_64__ */ > =20 > default: >=20