From: Richard W.M. Jones Date: Thu, 20 Sep 2007 12:02:18 +0000 (+0000) Subject: Thu Sep 20 12:59:00 BST 2007 Richard W.M. Jones X-Git-Tag: LIBVIRT_0_3_3~20 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=18ec04c0719b0f4dfe2e4fe80bee38ffe36aee36;p=thirdparty%2Flibvirt.git Thu Sep 20 12:59:00 BST 2007 Richard W.M. Jones * src/xend_internal.c: Error message if we cannot connect to xend. --- diff --git a/ChangeLog b/ChangeLog index e54ca690cc..fd9f34a4ae 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Thu Sep 20 12:59:00 BST 2007 Richard W.M. Jones + + * src/xend_internal.c: Error message if we cannot connect + to xend. + Wed Sep 19 17:42:00 EST 2007 Daniel P. Berrange * src/remote_internal.c: Fix waitpid() call to only be done diff --git a/src/xend_internal.c b/src/xend_internal.c index d8b10daf48..29a11f7ea9 100644 --- a/src/xend_internal.c +++ b/src/xend_internal.c @@ -232,6 +232,8 @@ do_connect(virConnectPtr xend) close(s); errno = serrno; s = -1; + virXendError(xend, VIR_ERR_INTERNAL_ERROR, + "failed to connect to xend"); } return s; @@ -3420,6 +3422,9 @@ xenDaemonNumOfDefinedDomains(virConnectPtr conn) struct sexpr *_for_i, *node; xenUnifiedPrivatePtr priv = (xenUnifiedPrivatePtr) conn->privateData; + /* xm_internal.c (the support for defined domains from /etc/xen + * config files used by old Xen) will handle this. + */ if (priv->xendConfigVersion < 3) return(-1);