From: Ian Jackson Subject: Re: xl destroy Date: Mon, 17 Jan 2011 18:08:54 +0000 Message-ID: <19764.34230.818292.873730@mariner.uk.xensource.com> References: <201101171425.24905.Christoph.Egger@amd.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <201101171425.24905.Christoph.Egger@amd.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: Christoph Egger Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Christoph Egger writes ("[Xen-devel] xl destroy"): > # xl destroy 12 > libxl: error: libxl.c:692:libxl_domain_destroy xc_domain_pause failed for 12 > libxl: error: libxl_dm.c:715:libxl__destroy_device_model Couldn't find device > model's pid: No such file or directory > libxl: error: libxl.c:696:libxl_domain_destroy libxl__destroy_device_model > failed for 12 > libxl: error: > libxl_device.c:325:libxl__devices_destroy /local/domain/12/device is empty > libxl: error: libxl_dom.c:537:userdata_path unable to find domain info for > domain 12: Undefined error: 0 > libxl: error: libxl.c:713:libxl_domain_destroy xc_domain_destroy failed for 12 > > I think, a message like 'Domain 12 does not exist' is enough. I agree. In general I think the domain destruction stuff in libxl should not complain if it is unable to destroy or remove something because that thing was already nonexistent. It should complain if, and only if, it either finds the thing exists and cannot remove it, or it is unable to determine whether the thing exists. Ian.