aboutsummaryrefslogtreecommitdiff
path: root/qga
diff options
context:
space:
mode:
authorMichael Roth <mdroth@linux.vnet.ibm.com>2011-07-22 16:42:00 -0500
committerAnthony Liguori <aliguori@us.ibm.com>2011-07-23 10:19:50 -0500
commit9af99f1daf8e9bf0fecddcde35273383ec02cd45 (patch)
treec7113562442262faa2ea757c41f63b4ba7cf4f9f /qga
parent6eed18568d985f5e091e96205f5ebf50fb823f4e (diff)
guest agent: use QERR_UNSUPPORTED for disabled RPCs
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'qga')
-rw-r--r--qga/guest-agent-commands.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/qga/guest-agent-commands.c b/qga/guest-agent-commands.c
index e215bd3c5f..624972e84c 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;
}