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:
Richard W.M. Jones 2007-09-12 10:37:00 +00:00
parent 1361ddec0a
commit 5fac0c95e1
3 changed files with 10 additions and 2 deletions

View File

@ -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>
* src/remote_internal.c: virDrvOpenRemoteFlags was accidentally

View File

@ -812,6 +812,10 @@ xenUnifiedDomainDumpXML (virDomainPtr dom, int flags)
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;
}

View File

@ -2470,8 +2470,7 @@ xenDaemonDomainDumpXML(virDomainPtr domain, int flags ATTRIBUTE_UNUSED)
priv = (xenUnifiedPrivatePtr) domain->conn->privateData;
if (domain->id < 0 && priv->xendConfigVersion < 3) {
virXendError (domain->conn, VIR_ERR_XEN_CALL,
"xenDaemonDomainDumpXML domain ID < 0 and xendConfigVersion < 3");
// fall-through to the next driver to handle
return(NULL);
}