[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 6/7] QError: Add do_info_balloon() errors
From: |
Luiz Capitulino |
Subject: |
[Qemu-devel] [PATCH 6/7] QError: Add do_info_balloon() errors |
Date: |
Thu, 29 Oct 2009 16:42:29 -0200 |
Signed-off-by: Luiz Capitulino <address@hidden>
---
qerror.c | 8 ++++++++
qerror.h | 2 ++
2 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/qerror.c b/qerror.c
index 69eabfb..ad8d4e0 100644
--- a/qerror.c
+++ b/qerror.c
@@ -55,6 +55,14 @@ static QErrorTable qerror_table[] = {
.code = QERR_DEV_NFOUND,
.desc = "device \"%(name)s\" not found",
},
+ {
+ .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 7f45360..6a4c8a9 100644
--- a/qerror.h
+++ b/qerror.h
@@ -22,6 +22,8 @@
typedef enum QErrorCode {
QERR_UNKNOWN,
QERR_DEV_NFOUND,
+ QERR_BAL_MMU,
+ QERR_BAL_DIS,
QERR_MAX,
} QErrorCode;
--
1.6.5.2.74.g610f9
- [Qemu-devel] [PATCH 2/7] Introduce QError, (continued)
- [Qemu-devel] [PATCH 2/7] Introduce QError, Luiz Capitulino, 2009/10/29
- [Qemu-devel] Re: [PATCH 2/7] Introduce QError, Anthony Liguori, 2009/10/29
- [Qemu-devel] Re: [PATCH 2/7] Introduce QError, Luiz Capitulino, 2009/10/29
- [Qemu-devel] Re: [PATCH 2/7] Introduce QError, Paolo Bonzini, 2009/10/29
- Re: [Qemu-devel] Re: [PATCH 2/7] Introduce QError, Jamie Lokier, 2009/10/29
- [Qemu-devel] Re: [PATCH 2/7] Introduce QError, Anthony Liguori, 2009/10/30
- [Qemu-devel] Re: [PATCH 2/7] Introduce QError, Luiz Capitulino, 2009/10/30
[Qemu-devel] [PATCH 3/7] monitor: QError support, Luiz Capitulino, 2009/10/29
[Qemu-devel] [PATCH 4/7] QError: Add QERR_DEV_NFOUND, Luiz Capitulino, 2009/10/29
[Qemu-devel] [PATCH 5/7] qdev: Use QError for not found error, Luiz Capitulino, 2009/10/29
[Qemu-devel] [PATCH 6/7] QError: Add do_info_balloon() errors,
Luiz Capitulino <=
[Qemu-devel] [PATCH 7/7] monitor: do_info_balloon(): use QError, Luiz Capitulino, 2009/10/29
[Qemu-devel] Re: [RFC 0/7] QError v1, Paolo Bonzini, 2009/10/29
- [Qemu-devel] Re: [RFC 0/7] QError v1, Luiz Capitulino, 2009/10/30
- [Qemu-devel] Re: [RFC 0/7] QError v1, Gerd Hoffmann, 2009/10/30
- [Qemu-devel] Re: [RFC 0/7] QError v1, Anthony Liguori, 2009/10/30
- [Qemu-devel] Re: [RFC 0/7] QError v1, Paolo Bonzini, 2009/10/30
- [Qemu-devel] Re: [RFC 0/7] QError v1, Luiz Capitulino, 2009/10/30
- [Qemu-devel] Re: [RFC 0/7] QError v1, Anthony Liguori, 2009/10/30
- [Qemu-devel] Re: [RFC 0/7] QError v1, Luiz Capitulino, 2009/10/30
Re: [Qemu-devel] Re: [RFC 0/7] QError v1, Jamie Lokier, 2009/10/30