From 9af99f1daf8e9bf0fecddcde35273383ec02cd45 Mon Sep 17 00:00:00 2001 From: Michael Roth Date: Fri, 22 Jul 2011 16:42:00 -0500 Subject: guest agent: use QERR_UNSUPPORTED for disabled RPCs Signed-off-by: Anthony Liguori --- qga/guest-agent-commands.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'qga') diff --git a/qga/guest-agent-commands.c b/qga/guest-agent-commands.c index e215bd3c5..624972e84 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; } -- cgit v1.2.3