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 g

To: "Stefano Stabellini" <stefano.stabellini@xxxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] xen: update_runstate_area for 32 bit PV on HVM guests
From: "Jan Beulich" <JBeulich@xxxxxxxxxx>
Date: Fri, 28 May 2010 15:54:41 +0100
Cc:
Delivery-date: Fri, 28 May 2010 07:55:34 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <alpine.DEB.2.00.1005281542340.25605@kaball-desktop>
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
>>> 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()?

Jan


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