From: Michael Roth <mdroth@linux.vnet.ibm.com>
To: qemu-devel@nongnu.org
Cc: aliguori@linux.vnet.ibm.com, mdroth@linux.vnet.ibm.com
Subject: [Qemu-devel] [PATCH] guest agent: use QERR_UNSUPPORTED for disabled RPCs
Date: Fri, 22 Jul 2011 16:42:00 -0500 [thread overview]
Message-ID: <1311370920-29327-1-git-send-email-mdroth@linux.vnet.ibm.com> (raw)
---
qga/guest-agent-commands.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/qga/guest-agent-commands.c b/qga/guest-agent-commands.c
index e215bd3..624972e 100644
--- a/qga/guest-agent-commands.c
+++ b/qga/guest-agent-commands.c
@@ -521,7 +521,7 @@ static void guest_fsfreeze_cleanup(void)
*/
GuestFsfreezeStatus qmp_guest_fsfreeze_status(Error **err)
{
- error_set(err, QERR_COMMAND_NOT_FOUND, "guest_fsfreeze_status");
+ error_set(err, QERR_UNSUPPORTED);
return 0;
}
@@ -532,7 +532,7 @@ GuestFsfreezeStatus qmp_guest_fsfreeze_status(Error **err)
*/
int64_t qmp_guest_fsfreeze_freeze(Error **err)
{
- error_set(err, QERR_COMMAND_NOT_FOUND, "guest_fsfreeze_freeze");
+ error_set(err, QERR_UNSUPPORTED);
return 0;
}
@@ -542,7 +542,7 @@ int64_t qmp_guest_fsfreeze_freeze(Error **err)
*/
int64_t qmp_guest_fsfreeze_thaw(Error **err)
{
- error_set(err, QERR_COMMAND_NOT_FOUND, "guest_fsfreeze_thaw");
+ error_set(err, QERR_UNSUPPORTED);
return 0;
}
--
1.7.0.4
next reply other threads:[~2011-07-22 21:42 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-22 21:42 Michael Roth [this message]
2011-07-23 15:43 ` [Qemu-devel] [PATCH] guest agent: use QERR_UNSUPPORTED for disabled RPCs Anthony Liguori
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1311370920-29327-1-git-send-email-mdroth@linux.vnet.ibm.com \
--to=mdroth@linux.vnet.ibm.com \
--cc=aliguori@linux.vnet.ibm.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).