On Wed, 2015-03-25 at 14:44 -0400, Konrad Rzeszutek Wilk wrote: > + if (type == LIBXL_DOMAIN_TYPE_HVM || type == LIBXL_DOMAIN_TYPE_PV) {
I think just do the libxl_domain_info unconditionally and handle the error if it doesn't work. Otherwise looked good, but please try and const-ify the info parameter. Ian. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel