qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Anthony Liguori <anthony@codemonkey.ws>
To: Michael Roth <mdroth@linux.vnet.ibm.com>
Cc: aliguori@linux.vnet.ibm.com, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] guest agent: use QERR_UNSUPPORTED for disabled RPCs
Date: Sat, 23 Jul 2011 10:43:59 -0500	[thread overview]
Message-ID: <4E2AEC3F.4040202@codemonkey.ws> (raw)
In-Reply-To: <1311370920-29327-1-git-send-email-mdroth@linux.vnet.ibm.com>

On 07/22/2011 04:42 PM, Michael Roth wrote:

Applied.  Thanks.

Regards,

Anthony Liguori

> ---
>   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;
>   }

      reply	other threads:[~2011-07-23 15:44 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-22 21:42 [Qemu-devel] [PATCH] guest agent: use QERR_UNSUPPORTED for disabled RPCs Michael Roth
2011-07-23 15:43 ` Anthony Liguori [this message]

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=4E2AEC3F.4040202@codemonkey.ws \
    --to=anthony@codemonkey.ws \
    --cc=aliguori@linux.vnet.ibm.com \
    --cc=mdroth@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).