From: "Jan Beulich" Subject: Where do xenstore entries get removed during "xm block-detach"? Date: Thu, 18 Nov 2010 15:38:08 +0000 Message-ID: <4CE5567002000078000230D5@vpn.id2.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org In trying to find out why, other than for file/tap, tap2 detaches leave /vm//device/tap2/* around (which I assume is [part of] the reason one can't later run block-attach again for the same device), I tried to locate where these get removed for file/tap devices, and I can only see them getting removed once during block-attach (presumably for cleanup purposes) in xstransact._remove. xl, as far as I was able to see, doesn't properly attach/detach altogether, and mixing xl and xm doesn't seem to work either (based on a seemingly successful "xl block-attach" followed by a seemingly successful "xl block.detach", which left the device visible, followed by an unsuccessful "xm block-detach"). Shouldn't that all be more consistent? Thanks for pointers, Jan