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

[Xen-users] patch to fix xendomains non-fatal error (4.5-unstable)



--- ./tools/libxl/xl_cmdimpl.c.orig     2014-10-18 09:46:31.784512679 -0700
+++ ./tools/libxl/xl_cmdimpl.c  2014-10-18 09:51:21.138512679 -0700
@@ -3246,6 +3246,8 @@

     for (i = 0; i < nb_domain; i++) {
         libxl_domain_config_init(&d_config);
+        if (info[i].domid == 0)
+                continue;
         rc = libxl_retrieve_domain_configuration(ctx, info[i].domid, 
&d_config);
         if (rc)
             continue;


------------- snip --------------------

Before the above fix, upon starting xendomains the logs showed:
-----------

Oct 18 09:34:40 c7dom0 xendomains: Starting auto Xen domains: a_c7minlibxl: 
error: libxl.c:6292:libxl_retrieve_domain_configuration: fail to get domain 
configuration for domain 0

---------- snip ------

with the fix it shows:
----------
Oct 18 10:25:14 c7dom0 xendomains: Starting auto Xen domains: a_c7min[  OK  ]   
                                           

------------- snip --------


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users


 


Rackspace

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