[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.