WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [PATCH] xen: update_runstate_area for 32 bit PV on HVM

To: Jan Beulich <JBeulich@xxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] xen: update_runstate_area for 32 bit PV on HVM guests
From: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
Date: Fri, 28 May 2010 16:01:54 +0100
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Stefano Stabellini <Stefano.Stabellini@xxxxxxxxxxxxx>
Delivery-date: Fri, 28 May 2010 07:59:07 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4BFFF551020000780000488D@xxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <alpine.DEB.2.00.1005281542340.25605@kaball-desktop> <4BFFF551020000780000488D@xxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Alpine 2.00 (DEB 1167 2008-08-23)
On Fri, 28 May 2010, Jan Beulich wrote:
> >>> On 28.05.10 at 16:45, Stefano Stabellini 
> >>> <stefano.stabellini@xxxxxxxxxxxxx> wrote:
> > --- a/xen/arch/x86/domain.c Thu May 27 09:39:47 2010 +0100
> > +++ b/xen/arch/x86/domain.c Fri May 28 15:42:28 2010 +0100
> > @@ -1315,7 +1315,9 @@
> >          return;
> >  
> >  #ifdef CONFIG_COMPAT
> > -    if ( is_pv_32on64_domain(v->domain) )
> > +    if ( is_pv_32on64_domain(v->domain) ||
> > +         (is_hvm_pv_evtchn_domain(v->domain) &&
> > +          has_32bit_shinfo(v->domain)) )
> >      {
> >          struct compat_vcpu_runstate_info info;
> 
> Is there any reason why this cannot be just has_32bit_shinfo()?
> 
 
no, actually has_32bit_shinfo should be able to cover all cases


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel