Re: [Xen-devel] POSIX error names and codes in PV protocols

2017-01-27 Thread Oleksandr Andrushchenko
On 01/27/2017 10:01 AM, Jan Beulich wrote: On 26.01.17 at 18:28, wrote: The problem is that it is not exposed to Linux, but I can see it in FreeBSD [1] and the helper to convert error codes [2] there as well. Is there any reason these are not available in Linux? Well, the

Re: [Xen-devel] POSIX error names and codes in PV protocols

2017-01-27 Thread Jan Beulich
>>> On 26.01.17 at 18:28, wrote: > The problem is that it is not exposed to Linux, but I can see it > in FreeBSD [1] and the helper to convert error codes [2] there as well. > Is there any reason these are not available in Linux? Well, the header should eventually get added

Re: [Xen-devel] POSIX error names and codes in PV protocols

2017-01-26 Thread Oleksandr Andrushchenko
On 01/26/2017 08:16 PM, Roger Pau Monné wrote: On Thu, Jan 26, 2017 at 08:14:10PM +0200, Oleksandr Andrushchenko wrote: On 01/26/2017 07:38 PM, Roger Pau Monné wrote: On Thu, Jan 26, 2017 at 07:28:44PM +0200, Oleksandr Andrushchenko wrote: On 01/26/2017 05:44 PM, Jan Beulich wrote: On

Re: [Xen-devel] POSIX error names and codes in PV protocols

2017-01-26 Thread Roger Pau Monné
On Thu, Jan 26, 2017 at 08:14:10PM +0200, Oleksandr Andrushchenko wrote: > On 01/26/2017 07:38 PM, Roger Pau Monné wrote: > > On Thu, Jan 26, 2017 at 07:28:44PM +0200, Oleksandr Andrushchenko wrote: > > > On 01/26/2017 05:44 PM, Jan Beulich wrote: > > > > > > > On 26.01.17 at 15:40,

Re: [Xen-devel] POSIX error names and codes in PV protocols

2017-01-26 Thread Oleksandr Andrushchenko
On 01/26/2017 07:38 PM, Roger Pau Monné wrote: On Thu, Jan 26, 2017 at 07:28:44PM +0200, Oleksandr Andrushchenko wrote: On 01/26/2017 05:44 PM, Jan Beulich wrote: On 26.01.17 at 15:40, wrote: There is some work happening on new PV protocols: sndif [1], displif [2], PV

Re: [Xen-devel] POSIX error names and codes in PV protocols

2017-01-26 Thread Roger Pau Monné
On Thu, Jan 26, 2017 at 07:28:44PM +0200, Oleksandr Andrushchenko wrote: > On 01/26/2017 05:44 PM, Jan Beulich wrote: > > > > > On 26.01.17 at 15:40, wrote: > > > There is some work happening on new PV protocols: sndif [1], > > > > > > displif [2], PV calls [3] and the common

Re: [Xen-devel] POSIX error names and codes in PV protocols

2017-01-26 Thread Julien Grall
Hi, On 26/01/2017 17:28, Oleksandr Andrushchenko wrote: On 01/26/2017 05:44 PM, Jan Beulich wrote: On 26.01.17 at 15:40, wrote: There is some work happening on new PV protocols: sndif [1], displif [2], PV calls [3] and the common part of those is that error/status codes

Re: [Xen-devel] POSIX error names and codes in PV protocols

2017-01-26 Thread Oleksandr Andrushchenko
On 01/26/2017 05:44 PM, Jan Beulich wrote: On 26.01.17 at 15:40, wrote: There is some work happening on new PV protocols: sndif [1], displif [2], PV calls [3] and the common part of those is that error/status codes must be returned as a part of a response packet. For

Re: [Xen-devel] POSIX error names and codes in PV protocols

2017-01-26 Thread Jan Beulich
>>> On 26.01.17 at 15:40, wrote: > There is some work happening on new PV protocols: sndif [1], > > displif [2], PV calls [3] and the common part of those is that > > error/status codes must be returned as a part of a response packet. > > For that Konrad suggested [1] (and