|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH] libxl: check return value of libxl_vcpu_setaffinity
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 `}' ?
Ian.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |