From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mxkh6-0004JO-68 for qemu-devel@nongnu.org; Tue, 13 Oct 2009 12:57:52 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mxkh1-0004ED-Kn for qemu-devel@nongnu.org; Tue, 13 Oct 2009 12:57:51 -0400 Received: from [199.232.76.173] (port=51970 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mxkh1-0004Dr-Dj for qemu-devel@nongnu.org; Tue, 13 Oct 2009 12:57:47 -0400 Received: from mx1.redhat.com ([209.132.183.28]:29418) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Mxkh0-00025g-VP for qemu-devel@nongnu.org; Tue, 13 Oct 2009 12:57:47 -0400 From: Luiz Capitulino Date: Tue, 13 Oct 2009 13:57:05 -0300 Message-Id: <1255453026-18637-9-git-send-email-lcapitulino@redhat.com> In-Reply-To: <1255453026-18637-1-git-send-email-lcapitulino@redhat.com> References: <1255453026-18637-1-git-send-email-lcapitulino@redhat.com> Subject: [Qemu-devel] [PATCH 8/9] QError: Add do_info_balloon() errors List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: aliguori@us.ibm.com, kraxel@redhat.com Signed-off-by: Luiz Capitulino --- qerror.c | 7 +++++++ qerror.h | 2 ++ 2 files changed, 9 insertions(+), 0 deletions(-) diff --git a/qerror.c b/qerror.c index 88a8208..df06f93 100644 --- a/qerror.c +++ b/qerror.c @@ -41,6 +41,13 @@ static QErrorTable qerror_table[] = { .desc = "device not found", .user_print = qemu_err_qdev_nodev, }, + { + .code = QERR_BAL_MMU, + .desc = "Using KVM without synchronous MMU, ballooning disabled", + }, + { .code = QERR_BAL_DIS, + .desc = "Ballooning not activated in VM", + }, }; /** diff --git a/qerror.h b/qerror.h index 820f25e..43d8758 100644 --- a/qerror.h +++ b/qerror.h @@ -22,6 +22,8 @@ typedef enum QErrorCode { QERR_UNKNOWN, QERR_QDEV_NFOUND, + QERR_BAL_MMU, + QERR_BAL_DIS, QERR_MAX, } QErrorCode; -- 1.6.5.rc3.8.g8ba5e