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-ppc-devel

[Xen-devel] Re: [XenPPC] [PATCH 0 of 2] management tools portability v3

To: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Subject: [Xen-devel] Re: [XenPPC] [PATCH 0 of 2] management tools portability v3
From: Hollis Blanchard <hollisb@xxxxxxxxxx>
Date: Mon, 05 Jun 2006 16:46:29 -0500
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 05 Jun 2006 14:46:12 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <patchbomb.1149542312@xxxxxxxxxxxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Organization: IBM Linux Technology Center
References: <patchbomb.1149542312@xxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Mon, 2006-06-05 at 16:18 -0500, Hollis Blanchard wrote:
> These patches allow me to use 32-bit libxc (and xend and xm) with a
> 64-bit PPC hypervisor.

There are two additional changes needed in Linux. First,
include/xen/public/privcmd.h must now #include <linux/types.h>, since
we're using '__u64'. (I'm not sure how to represent that in a patch.)

Second: 

diff -r 30876a100239 drivers/xen/privcmd/privcmd.c
--- a/drivers/xen/privcmd/privcmd.c     Wed May 24 16:29:08 2006 -0400
+++ b/drivers/xen/privcmd/privcmd.c     Mon Jun 05 16:39:38 2006 -0500
@@ -169,7 +169,7 @@ static int privcmd_ioctl(struct inode *i
 #endif
                privcmd_mmapbatch_t m;
                struct vm_area_struct *vma = NULL;
-               unsigned long __user *p;
+               xen_pfn_t __user *p;
                unsigned long addr, mfn; 
                int i;

Signed-off-by: Hollis Blanchard <hollisb@xxxxxxxxxx>

-- 
Hollis Blanchard
IBM Linux Technology Center


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

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