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