From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:48712) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RnuUX-0000xg-IN for qemu-devel@nongnu.org; Thu, 19 Jan 2012 11:05:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RnuLx-0007vy-7P for qemu-devel@nongnu.org; Thu, 19 Jan 2012 10:56:45 -0500 Received: from mx1.redhat.com ([209.132.183.28]:42450) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RnuLw-0007vg-UB for qemu-devel@nongnu.org; Thu, 19 Jan 2012 10:56:41 -0500 From: Luiz Capitulino Date: Thu, 19 Jan 2012 13:56:27 -0200 Message-Id: <1326988591-27241-2-git-send-email-lcapitulino@redhat.com> In-Reply-To: <1326988591-27241-1-git-send-email-lcapitulino@redhat.com> References: <1326988591-27241-1-git-send-email-lcapitulino@redhat.com> Subject: [Qemu-devel] [PATCH 1/5] balloon: qmp_balloon(): Use error_set() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: aliguori@us.ibm.com, armbru@redhat.com, mdroth@linux.vnet.ibm.com, agl@us.ibm.com, amit.shah@redhat.com, eblake@redhat.com Commit d72f326431e280a619a0fd55e27d3737747f8178 converted the balloon command to the QAPI, but forgot to convert one qerror_report() usage. Fix it. Signed-off-by: Luiz Capitulino --- balloon.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 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.rc0.dirty