diff options
author | Michael Roth <mdroth@linux.vnet.ibm.com> | 2011-07-22 16:42:00 -0500 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2011-07-23 10:19:50 -0500 |
commit | 9af99f1daf8e9bf0fecddcde35273383ec02cd45 (patch) | |
tree | c7113562442262faa2ea757c41f63b4ba7cf4f9f /qga | |
parent | 6eed18568d985f5e091e96205f5ebf50fb823f4e (diff) | |
download | qemu-9af99f1daf8e9bf0fecddcde35273383ec02cd45.zip qemu-9af99f1daf8e9bf0fecddcde35273383ec02cd45.tar.gz qemu-9af99f1daf8e9bf0fecddcde35273383ec02cd45.tar.bz2 |
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.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; } |