Skip to contentSkip to conversation

xl destroy

DISCUSSION Christoph Egger 2 participants 2 messages Jan 17, 2011

lore
Share & tools
lore
#0 lore raw

Hi!

# 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.

Christoph

Signature · 6 lines
---to satisfy European Law for business letters:
Advanced Micro Devices GmbH
Einsteinring 24, 85609 Dornach b. Muenchen
Geschaeftsfuehrer: Alberto Bozzo, Andrew Bowd
Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen
Registergericht Muenchen, HRB Nr. 43632
#1 lore raw

Christoph Egger writes ("[Xen-devel] xl destroy"):

Quoted 12 lines
# 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
Quoted 1 line

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.