Thu Sep 20 12:59:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>

* src/xend_internal.c: Error message if we cannot connect
        to xend.
This commit is contained in:
Richard W.M. Jones 2007-09-20 12:02:18 +00:00
parent 736f0e2531
commit 18ec04c071
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,8 @@
Thu Sep 20 12:59:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
* src/xend_internal.c: Error message if we cannot connect
to xend.
Wed Sep 19 17:42:00 EST 2007 Daniel P. Berrange <berrange@redhat.com> Wed Sep 19 17:42:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>
* src/remote_internal.c: Fix waitpid() call to only be done * src/remote_internal.c: Fix waitpid() call to only be done

View File

@ -232,6 +232,8 @@ do_connect(virConnectPtr xend)
close(s); close(s);
errno = serrno; errno = serrno;
s = -1; s = -1;
virXendError(xend, VIR_ERR_INTERNAL_ERROR,
"failed to connect to xend");
} }
return s; return s;
@ -3420,6 +3422,9 @@ xenDaemonNumOfDefinedDomains(virConnectPtr conn)
struct sexpr *_for_i, *node; struct sexpr *_for_i, *node;
xenUnifiedPrivatePtr priv = (xenUnifiedPrivatePtr) conn->privateData; 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) if (priv->xendConfigVersion < 3)
return(-1); return(-1);