qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] qapi: fix qmp_balloon() conversion


From: Michael Roth
Subject: Re: [Qemu-devel] [PATCH] qapi: fix qmp_balloon() conversion
Date: Thu, 26 Apr 2012 16:38:26 -0500
User-agent: Mutt/1.5.21 (2010-09-15)

On Thu, Apr 26, 2012 at 06:07:41PM -0300, Luiz Capitulino wrote:
> Commit d72f326431 forgot to convert a call from qerror_report() to
> error_set(). Fix it.
> 
> Signed-off-by: Luiz Capitulino <address@hidden>

Reviewed-by: Michael Roth <address@hidden>

> ---
>  balloon.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/balloon.c b/balloon.c
> index 0166744..aa354f7 100644
> --- a/balloon.c
> +++ b/balloon.c
> @@ -108,7 +108,7 @@ void qmp_balloon(int64_t value, Error **errp)
>      }
> 
>      if (value <= 0) {
> -        qerror_report(QERR_INVALID_PARAMETER_VALUE, "target", "a size");
> +        error_set(errp, QERR_INVALID_PARAMETER_VALUE, "target", "a size");
>          return;
>      }
>      
> -- 
> 1.7.9.2.384.g4a92a
> 
> 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]