| 
    
 [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH 7/7] tools/libxl: Allow dom0 to be destroyed
 On 03/19/2014 07:02 AM, Ian Campbell wrote: On Tue, 2014-03-18 at 17:34 -0400, Daniel De Graaf wrote: OK, I like that error message better. Is the error message on attempted self destruction informative? If not then append "This can only be done from another domain, e.g. a disaggregated toolstack domain". libxl: error: libxl.c:1411:libxl__destroy_domid: xc_domain_pause failed for 0 libxl: error: libxl.c:1471:devices_destroy_cb: xc_domain_destroy failed for 0 libxl: error: libxl.c:1342:domain_destroy_callback: unable to destroy guest with domid 0 libxl: error: libxl.c:1269:domain_destroy_cb: destruction of domain 0 failed destroy failed (rc=-3) It seems that libxl should include the errno from the hypervisor (EINVAL in this case) somewhere in its output. Last random thought: Does this code know or have the potential to know which domain it is running in? Not easily; I discussed this with Ian Jackson for the v1 patch, and we decided that determining your own domain ID here was too cumbersome. All of this info should also be added to the man page and the help text in xl_cmdtable.c needs to have the -f added to it. Ah, yes, documentation... will do. 
 -- Daniel De Graaf National Security Agency _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel 
 
  | 
  
![]()  | 
            
         Lists.xenproject.org is hosted with RackSpace, monitoring our  |