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

Re: [Xen-devel] [PATCH] switch hypercall restart indication from -EAGAIN to -ERESTART



At 13:07 +0100 on 15 May (1400155676), Jan Beulich wrote:
> >>> On 15.05.14 at 14:01, <tim@xxxxxxx> wrote:
> > At 12:56 +0100 on 15 May (1400154975), Jan Beulich wrote:
> >> >>> On 15.05.14 at 13:24, <tim@xxxxxxx> wrote:
> >> > Are there cases where we want to return EINTR to the guest, or could
> >> > we maybe use it everywhere and drop ERESTART?
> >> 
> >> No, we need two distinct error codes on these paths. For now we
> >> never need to return -EINTR to the guest (and for now I also can't
> >> see when/why we would), but we'd have to convert these too
> >> should the need arise.
> > 
> > I didn't really understand that.  Do you mean that there's a reason to
> > have both EINTR and ERESTART even though we don't return EINTR to
> > guests, or that you want to keep them separate in case we ever do
> > want to return EINTR?
> 
> The former.

OK, thanks.

Tim.

_______________________________________________
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®.