From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?ISO-8859-1?Q?Roger_Pau_Monn=E9?= Subject: Re: blktap3: libxl complaining when a domain gets destroyed Date: Wed, 24 Apr 2013 13:54:54 +0200 Message-ID: <5177C80E.9010906@citrix.com> References: <4B45B535F7F6BE4CB1C044ED5115CDDE01541DB7346D@LONPMAILBOX01.citrite.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4B45B535F7F6BE4CB1C044ED5115CDDE01541DB7346D@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.xen.org" List-Id: xen-devel@lists.xenproject.org On 24/04/13 13:46, Thanos Makatos wrote: > I'm testing blktap3 and when I destroy a domain via "xl destroy 21" I get the following behaviour: "xl destroy 21" seems to pause for a couple of seconds and then spits out the following: > libxl: error: libxl_device.c:882:device_backend_callback: unable to remove device with path /local/domain/0/backend/vbd3/21/51712 This is because libxl will wait for the backend to reach state '6' (closed). Even if state 6 is not reached libxl will clean up the backend path, you should check why blktap3 doesn't set the backend to state 6. > libxl: error: libxl.c:1453:devices_destroy_cb: libxl__devices_destroy failed for 21 > Apart from these messages, the domain seems to be correctly destroyed and there aren't any leftovers in XenStore. I'm able to successfully start and stop the domain multiple times. What is libxl complaining about? > > -- > Thanos Makatos > > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xen.org > http://lists.xen.org/xen-devel >