[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



* 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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.