On Wed, Dec 18, 2013 at 03:39:12PM +0100, Dario Faggioli wrote:
> Starting from commit 2e82c18c in Xen (will be included in Xen 4.4)
> both libxl_get_max_cpus() and libxl_get_max_ndoes() start returning

s/ndoes/nodes/

> a proper libxl error code, in case of failure. This patch fixes
> this in the libxl driver.
>
> Note that, although it is now basically impossible for them to return
> 0, that would, theoretically, still be wrong. Also, checking that the
> returned value is '<= 0' makes the code correct for both Xen 4.4 and
> Xen 4.3 (and 4.2), and that is why we go for it (rather than
> just '< 0').
>
> Signed-off-by: Dario Faggioli <[email protected]>
> Cc: Jim Fehlig <[email protected]>
> Cc: Ian Jackson <[email protected]>
> Cc: Martin Kletzander <[email protected]>
> ---
> Changes from v1:
>  * taking care of libxl_get_max_nodes() too
> ---
>  src/libxl/libxl_driver.c |   15 +++++++++++----
>  1 file changed, 11 insertions(+), 4 deletions(-)
>

ACK, fixed & pushed.

Thanks,
Martin

Attachment: signature.asc
Description: Digital signature

--
libvir-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to