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

[XenPPC] [PATCH] linux: add populate_physmap to memory hcalls for ppc

To: xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
Subject: [XenPPC] [PATCH] linux: add populate_physmap to memory hcalls for ppc
From: Ryan Harper <ryanh@xxxxxxxxxx>
Date: Wed, 21 Feb 2007 18:20:06 -0600
Delivery-date: Wed, 21 Feb 2007 16:19:15 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <patchbomb.1172103418@xxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-ppc-devel-request@lists.xensource.com?subject=help>
List-id: Xen PPC development <xen-ppc-devel.lists.xensource.com>
List-post: <mailto:xen-ppc-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ppc-devel>, <mailto:xen-ppc-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ppc-devel>, <mailto:xen-ppc-devel-request@lists.xensource.com?subject=unsubscribe>
References: <patchbomb.1172103418@xxxxxxxxxxxxxxxxxxxxx>
Sender: xen-ppc-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.6+20040907i
* Ryan Harper <ryanh@xxxxxxxxxx> [2007-02-21 18:18]:
> xc_linux_build_use_populate_physmap.patch:
>  - change libxc/powerc64/xc_linux_build() to use populate_physmap hcall
> 
>  Note that a 1 line patch to linux is needed to allow populate_physmap 
>  to work.  I'll send that seperately from this patchset.

Here is the linux patch.


-- 
Ryan Harper
Software Engineer; Linux Technology Center
IBM Corp., Austin, Tx
(512) 838-9253   T/L: 678-9253
ryanh@xxxxxxxxxx


diffstat output:
 hcall.c |    1 +
 1 files changed, 1 insertion(+)

Signed-off-by: Ryan Harper <ryanh@xxxxxxxxxx>
---
[PATCH] linux: add populate_phsymap to memory hcalls for ppc.

diff -r 37ea4cf1281a arch/powerpc/platforms/xen/hcall.c
--- a/arch/powerpc/platforms/xen/hcall.c        Tue Feb 06 17:10:20 2007 -0500
+++ b/arch/powerpc/platforms/xen/hcall.c        Fri Feb 16 17:27:17 2007 -0600
@@ -537,6 +537,7 @@ int HYPERVISOR_memory_op(unsigned int cm
        switch (cmd) {
        case XENMEM_increase_reservation:
        case XENMEM_decrease_reservation:
+       case XENMEM_populate_physmap:
        {
                void *desc = NULL;
 

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

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