[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [XenPPC] [linux-ppc-2.6] [LINUX] support DOM0_SHADOW_CONTROL dom0 hcall
# HG changeset patch # User Hollis Blanchard <hollisb@xxxxxxxxxx> # Node ID 49765c9a9eb4554f884c4c730438cf872fae9d9c # Parent 8f36901a3c1599e6c326b1a6f6b017dd5f285b0a [LINUX] support DOM0_SHADOW_CONTROL dom0 hcall Signed-off-by: Hollis Blanchard <hollisb@xxxxxxxxxx> --- arch/powerpc/platforms/xen/hcall.c | 10 +++++++++- 1 files changed, 9 insertions(+), 1 deletion(-) diff -r 8f36901a3c15 -r 49765c9a9eb4 arch/powerpc/platforms/xen/hcall.c --- a/arch/powerpc/platforms/xen/hcall.c Fri Aug 11 12:49:08 2006 -0400 +++ b/arch/powerpc/platforms/xen/hcall.c Wed Aug 23 13:19:06 2006 -0500 @@ -286,6 +286,14 @@ static int xenppc_privcmd_dom0_op(privcm kern_op.u.readconsole.count, &desc, GFP_KERNEL); set_xen_guest_handle(kern_op.u.readconsole.buffer, + (void *)__pa(desc)); + break; + case DOM0_SHADOW_CONTROL: + ret = xencomm_create( + xen_guest_handle(kern_op.u.shadow_control.dirty_bitmap), + kern_op.u.shadow_control.pages * sizeof(unsigned long), + &desc, GFP_KERNEL); + set_xen_guest_handle(kern_op.u.shadow_control.dirty_bitmap, (void *)__pa(desc)); break; case DOM0_GETPAGEFRAMEINFO2: @@ -509,7 +517,7 @@ int arch_privcmd_hypercall(privcmd_hyper printk("%s: unknown hcall (%ld)\n", __func__, hypercall->op); /* fallthru */ /* below are the hcalls we know will fail and its ok */ - case __HYPERVISOR_acm_op: + case __HYPERVISOR_acm_op: return plpar_hcall_norets(XEN_MARK(hypercall->op), hypercall->arg[0], hypercall->arg[1], _______________________________________________ Xen-ppc-devel mailing list Xen-ppc-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-ppc-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |