[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH XEN v7 23/29] tools/libs/call: Describe return values and error semantics for xencall*



El 16/12/15 a les 13.31, Ian Campbell ha escrit:
> This behaviour has been confirmed by inspection on:
> 
>  - Linux
>  - NetBSD & FreeBSD (NB: hcall->retval is the hypercall return value
>    only for values >= 0. For negative values the underlying privcmd
>    driver translates the value from Xen to {Net,Free}BSD errno space
>    and returns it as the result of the ioctl, which becomes
>    ret=-1/errno=EFOO in userspace)
>  - MiniOS (which takes care of errno in this library)
> 
> Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
> Acked-by: Wei Liu <wei.liu2@xxxxxxxxxx>
> Acked-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>

Acked-by: Roger Pau Monnà <roger.pau@xxxxxxxxxx>


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.