WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] xl destroy

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.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>