From: Ian Jackson Subject: Re: libxl: error handling before xenstored runs Date: Thu, 10 Feb 2011 19:33:25 +0000 Message-ID: <19796.15749.711471.618715@mariner.uk.xensource.com> References: <201102091213.06591.Christoph.Egger@amd.com> <4D52B5DD.2060900@gmail.com> <201102091652.09218.Christoph.Egger@amd.com> <201102091654.29318.Christoph.Egger@amd.com> <1297273192.29419.7.camel@qabil.uk.xensource.com> <1297328120.1047.21.camel@zakaz.uk.xensource.com> <1297362646.29419.13.camel@qabil.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1297362646.29419.13.camel@qabil.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Gianni Tedesco Cc: Ian Campbell , Kamala Narasimhan , Christoph Egger , "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org Gianni Tedesco writes ("Re: [Xen-devel] libxl: error handling before xenstored runs"): > I suppose it's because we don't want to be killable after sending the > message but before receiving the reply, since the ring is going to get > jammed up due to nobody consuming the reply. The reply that in this case > never comes, but the kernel can't know that it won't eventually come, > right? The bookkeeping for the fact that there is a command outstanding should take care of that problem - when matching up the replies with requests it will find that the caller for the request has gone away and discard the reply. (Obviously it doesn't atm because the whole thing is synchronous.) Ian.