Hi, the error message when one wants to list a non-existent domain is at best misleading (libxl_domain_info failed (code -5)). Attached patch catches this specific error and tells the user that the requested domain does not exist: # xl list 42 Error: Domain '42' does not exist. I am not sure whether one should change the default error message in find_domain(), too, which currently reads: # xl list foo foo is an invalid domain identifier (rc=-1) Regards, Andre. Signed-off-by: Andre Przywara -- Andre Przywara AMD-Operating System Research Center (OSRC), Dresden, Germany Tel: +49 351 448-3567-12