qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH 8/9] QError: Add do_info_balloon() errors


From: Luiz Capitulino
Subject: [Qemu-devel] [PATCH 8/9] QError: Add do_info_balloon() errors
Date: Tue, 13 Oct 2009 13:57:05 -0300

Signed-off-by: Luiz Capitulino <address@hidden>
---
 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





reply via email to

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