|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH] libxl: check return value of libxl_vcpu_setaffinity
On Wed, Apr 08, 2015 at 04:55:26PM +0100, Ian Jackson wrote:
> Wei Liu writes ("[PATCH] libxl: check return value of
> libxl_vcpu_setaffinity"):
> > That function can fail.
> ...
> > }
> >
> > - libxl_for_each_set_bit(j, v->vcpus)
> > - libxl_set_vcpuaffinity(CTX, domid, j, NULL, &cpumap);
> > + libxl_for_each_set_bit(j, v->vcpus) {
> > + rc = libxl_set_vcpuaffinity(CTX, domid, j, NULL, &cpumap);
> > + if (rc) {
> > + LOG(ERROR, "Can't set cpu affinity for %d", j);
> > + goto out;
> > + }
> > }
>
> Does this not have a missing `}' ?
>
Yes, you're right. I will resend.
Wei.
> Ian.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |