Fix xc_vcpu_{set/get}affinity
PATCH 1/1 Fix xc_vcpu_{set/get}affinity
Hi,
I fixed the Xen-bugzilla No.900.
http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=900
Best regards,
Kan
tools/libxc/xc_domain.c +2 -2
@@ -102,7 +102,7 @@ int xc_vcpu_setaffinity(int xc_handle, domctl.domain = (domid_t )domid; domctl.u.vcpuaffinity.vcpu = vcpu; -bitmap_64_to_byte (local, &cpumap,sizeof (cpumap)); +bitmap_64_to_byte (local, &cpumap,sizeof (cpumap) *8 );set_xen_guest_handle (domctl.u.vcpuaffinity.cpumap.bitmap, local);
@@ -148,7 +148,7 @@ int xc_vcpu_getaffinity(int xc_handle, ret =do_domctl (xc_handle, &domctl);unlock_pages (local,sizeof (local)); -bitmap_byte_to_64 (cpumap, local,sizeof (local)); +bitmap_byte_to_64 (cpumap, local,sizeof (local) *8 ); out:return ret; }
_______________________________________________
Xen-ia64-devel mailing list
[email protected]
http://lists.xensource.com/xen-ia64-devel
Hi,
Could you apply this patch? Or do you have comment?
If this issue is not solved, Xen/ia64 is not able to set affinity to virtual CPU in Xen 3.0.5.
Best regards,
Kan
Quoted 18 lines
Hi,
I fixed the Xen-bugzilla No.900.
http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=900
Signed-off-by Masaki Kanno <[email protected]>Best regards,
Kan-------------------------------text/plain-------------------------------
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Quoted 5 lines · Masaki Kanno
Hi,
Could you apply this patch? Or do you have comment?
If this issue is not solved, Xen/ia64 is not able to set affinity to virtual CPU in Xen 3.0.5.
It's in the xen-unstable.hg staging tree, should show up whenever
that gets unstuck again.
Alex
Signature · 1 line
Alex Williamson HP Open Source & Linux Org.
Re: Re: [Xen-devel] [PATCH][Bug 900] Fixxc_vcpu_{set/get}affinity
Hi Alex,
Thanks for your information. That makes me feel relieved.
Best regards,
Kan
Quoted 14 lines · Masaki Kanno
Quoted 5 lines
Hi,
Could you apply this patch? Or do you have comment?
If this issue is not solved, Xen/ia64 is not able to set affinity to virtual CPU in Xen 3.0.5.It's in the xen-unstable.hg staging tree, should show up whenever
that gets unstuck again.Alex
Signature · 1 line
Alex Williamson HP Open Source & Linux Org.