mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-07-16 22:57:15 +00:00
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:
parent
736f0e2531
commit
18ec04c071
@ -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>
|
||||
|
||||
* src/remote_internal.c: Fix waitpid() call to only be done
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user