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

[Xen-devel] Re: Xen 4.0 is broken on 32bit

To: "Huang2, Wei" <Wei.Huang2@xxxxxxx>, Tim Deegan <Tim.Deegan@xxxxxxxxxxxxx>
Subject: [Xen-devel] Re: Xen 4.0 is broken on 32bit
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Thu, 8 Jul 2010 08:02:14 +0100
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 08 Jul 2010 00:03:21 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <EE335F95F28A664DB4A21289D2AA053B436943DF@xxxxxxxxxxxxxxxxxxx>
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcseJ/U3jTPUjvrgSSaHVQHTTy2Y/wAQ4kc0
Thread-topic: Xen 4.0 is broken on 32bit
User-agent: Microsoft-Entourage/12.24.0.100205
On 08/07/2010 00:04, "Huang2, Wei" <Wei.Huang2@xxxxxxx> wrote:

> The changset 21229 breaks Xen 4.0.1 tree on 32bit environment. Starting a
> guest VM will throw out an error as ³Error: (38, ?Function not implemented¹)².
> Apparently, the hypercall to mem_sharing_op is missing for 32bit environment
> due to 21229.  The following small patch can fix this issue.

This will be the unconditional xc.dom_set_memshr() call in xend's image.py.
Should be wrapped in try-except.

 -- Keir

> Thanks,
> -Wei
>  
>  
>  
> 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 @@
>          } 
>      }
>      break;
> +#else
> +    case XEN_DOMCTL_mem_event_op:
> +    case XEN_DOMCTL_mem_sharing_op:
> +        ret = 0;
> +        break;
>  #endif /* __x86_64__ */
>  
>      default:
> 



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

<Prev in Thread] Current Thread [Next in Thread>