提交 5fac0c95 编写于 作者: R Richard W.M. Jones

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.
上级 1361ddec
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
......
......@@ -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;
}
......
......@@ -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);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册