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] [linux-ppc-2.6] [LINUX][POWERPC] fix set/getvcpuaffinity domctl

To: xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
Subject: [XenPPC] [linux-ppc-2.6] [LINUX][POWERPC] fix set/getvcpuaffinity domctls (missing a xencomm mapping)
From: Xen patchbot-linux-ppc-2.6 <patchbot-linux-ppc-2.6@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 06 Sep 2006 20:41:24 +0000
Delivery-date: Wed, 06 Sep 2006 13:42:47 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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>
Reply-to: xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-ppc-devel-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Hollis Blanchard <hollisb@xxxxxxxxxx>
# Node ID efefb3db340a70a34fd59435a260ebf4e6b8662d
# Parent  038152eb27568b983bb9601b3395c2aee4932d51
[LINUX][POWERPC] fix set/getvcpuaffinity domctls (missing a xencomm mapping)
Signed-off-by: Hollis Blanchard <hollisb@xxxxxxxxxx>
---
 arch/powerpc/platforms/xen/hcall.c |    8 ++++++++
 1 files changed, 8 insertions(+)

diff -r 038152eb2756 -r efefb3db340a arch/powerpc/platforms/xen/hcall.c
--- a/arch/powerpc/platforms/xen/hcall.c        Wed Sep 06 09:08:21 2006 -0500
+++ b/arch/powerpc/platforms/xen/hcall.c        Wed Sep 06 15:39:46 2006 -0500
@@ -317,8 +317,16 @@ static int xenppc_privcmd_domctl(privcmd
                                     (void *)__pa(desc));
                break;
        case XEN_DOMCTL_getvcpuinfo:
+               break;
        case XEN_DOMCTL_setvcpuaffinity:
        case XEN_DOMCTL_getvcpuaffinity:
+               ret = xencomm_create(
+                       xen_guest_handle(kern_op.u.vcpuaffinity.cpumap.bitmap),
+                       (kern_op.u.vcpuaffinity.cpumap.nr_cpus + 7) / 8,
+                       &desc, GFP_KERNEL);
+               set_xen_guest_handle(kern_op.u.vcpuaffinity.cpumap.bitmap,
+                                    (void *)__pa(desc));
+               break;
        case XEN_DOMCTL_max_vcpus:
        case XEN_DOMCTL_scheduler_op:
        case XEN_DOMCTL_setdomainhandle:

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

<Prev in Thread] Current Thread [Next in Thread>
  • [XenPPC] [linux-ppc-2.6] [LINUX][POWERPC] fix set/getvcpuaffinity domctls (missing a xencomm mapping), Xen patchbot-linux-ppc-2 . 6 <=