From: Ian Jackson Subject: Re: [PATCH 2 of 3] blktap3/libxl: Check whether blktap3 is available Date: Tue, 5 Mar 2013 14:28:52 +0000 Message-ID: <20790.292.173530.396214@mariner.uk.xensource.com> References: <20762.33440.178465.605902@mariner.uk.xensource.com> <4B45B535F7F6BE4CB1C044ED5115CDDE0153DAC5B30C@LONPMAILBOX01.citrite.net> <20789.63560.705612.677204@mariner.uk.xensource.com> <4B45B535F7F6BE4CB1C044ED5115CDDE0153DAC5B358@LONPMAILBOX01.citrite.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4B45B535F7F6BE4CB1C044ED5115CDDE0153DAC5B358@LONPMAILBOX01.citrite.net> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Thanos Makatos Cc: "xen-devel@lists.xensource.com" , Andrei Lifchits List-Id: xen-devel@lists.xenproject.org Thanos Makatos writes ("RE: [Xen-devel] [PATCH 2 of 3] blktap3/libxl: Check whether blktap3 is available"): > Tapback watches XenStore, so it doesn't need the control socket to > function. So if all you're doing is seeing whether it's available, surely you can have it write something in a fixed location in xenstore on startup ? > However, the control socket will be necessary for doing > more elaborate stuff (e.g. controlling a tapdisk in a thread-safe > manner). I'm not sure I understand this comment. What is not thread-safe about controlling it via xenstore ? > I understand the problems of using a processes' name in > this case, but since the control socket is not absolutely necessary > at this point (it's actually not yet implemented in the tapback > daemon), could we leave this as a future improvement? On the whole I think it would be better not to introduce bugs on the vague promise of fixing them later "as a future improvement" ... Thanks, Ian.