From: Cole Robinson Date: Thu, 8 Oct 2009 14:58:29 +0000 (-0400) Subject: remote: Don't print a warning every time a remote call fails X-Git-Tag: v0.7.2~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=36297e1db21b3e3f47f2a23a0a51f387a3a577a0;p=thirdparty%2Flibvirt.git remote: Don't print a warning every time a remote call fails $ sudo virsh pool-start idontexist 10:58:18.716: warning : processCallDispatchReply:7612 : Method call error error: failed to get pool 'idontexist' error: Storage pool not found: no pool with matching name 'idontexist' That warning doesn't server much purpose being printed via a virsh call. So remove the message. --- diff --git a/src/remote/remote_driver.c b/src/remote/remote_driver.c index 284593a62c..bf001ebdeb 100644 --- a/src/remote/remote_driver.c +++ b/src/remote/remote_driver.c @@ -7606,7 +7606,6 @@ processCallDispatchReply(virConnectPtr conn, struct private_data *priv, return 0; case REMOTE_ERROR: - VIR_WARN0("Method call error"); memset (&thecall->err, 0, sizeof thecall->err); if (!xdr_remote_error (xdr, &thecall->err)) { error (in_open ? NULL : conn,