mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-10-29 17:33:09 +00:00
Wed Sep 12 11:30:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
* src/xend_internal.c, src/xen_unified.c: Removed an annoying warning when using Xen 3.0.3 and inactive domains.
This commit is contained in:
parent
1361ddec0a
commit
5fac0c95e1
@ -1,3 +1,8 @@
|
|||||||
|
Wed Sep 12 11:30:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
|
||||||
|
|
||||||
|
* src/xend_internal.c, src/xen_unified.c: Removed an annoying
|
||||||
|
warning when using Xen 3.0.3 and inactive domains.
|
||||||
|
|
||||||
Wed Sep 12 11:25:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
|
Wed Sep 12 11:25:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
|
||||||
|
|
||||||
* src/remote_internal.c: virDrvOpenRemoteFlags was accidentally
|
* src/remote_internal.c: virDrvOpenRemoteFlags was accidentally
|
||||||
|
@ -812,6 +812,10 @@ xenUnifiedDomainDumpXML (virDomainPtr dom, int flags)
|
|||||||
if (ret) return ret;
|
if (ret) return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* XXX May need to return an error here if sub-drivers didn't
|
||||||
|
* set one. We really should change these to direct calls to
|
||||||
|
* the sub-drivers at a later date.
|
||||||
|
*/
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2470,8 +2470,7 @@ xenDaemonDomainDumpXML(virDomainPtr domain, int flags ATTRIBUTE_UNUSED)
|
|||||||
priv = (xenUnifiedPrivatePtr) domain->conn->privateData;
|
priv = (xenUnifiedPrivatePtr) domain->conn->privateData;
|
||||||
|
|
||||||
if (domain->id < 0 && priv->xendConfigVersion < 3) {
|
if (domain->id < 0 && priv->xendConfigVersion < 3) {
|
||||||
virXendError (domain->conn, VIR_ERR_XEN_CALL,
|
// fall-through to the next driver to handle
|
||||||
"xenDaemonDomainDumpXML domain ID < 0 and xendConfigVersion < 3");
|
|
||||||
return(NULL);
|
return(NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user