[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH V2 2/3] qerror: Add error telling that streaming blo
From: |
benoit . canet |
Subject: |
[Qemu-devel] [PATCH V2 2/3] qerror: Add error telling that streaming blocks migration |
Date: |
Mon, 23 Jul 2012 13:23:34 +0200 |
From: BenoƮt Canet <address@hidden>
Signed-off-by: Benoit Canet <address@hidden>
---
qerror.c | 4 ++++
qerror.h | 3 +++
2 files changed, 7 insertions(+)
diff --git a/qerror.c b/qerror.c
index 92c4eff..bcd74b7 100644
--- a/qerror.c
+++ b/qerror.c
@@ -283,6 +283,10 @@ static const QErrorStringTable qerror_table[] = {
.desc = "Could not set password",
},
{
+ .error_fmt = QERR_STREAMING_BLOCKS_MIGRATION,
+ .desc = "Streaming blocks migration",
+ },
+ {
.error_fmt = QERR_TOO_MANY_FILES,
.desc = "Too many open files",
},
diff --git a/qerror.h b/qerror.h
index b4c8758..95d9e8d 100644
--- a/qerror.h
+++ b/qerror.h
@@ -233,6 +233,9 @@ QError *qobject_to_qerror(const QObject *obj);
#define QERR_SET_PASSWD_FAILED \
"{ 'class': 'SetPasswdFailed', 'data': {} }"
+#define QERR_STREAMING_BLOCKS_MIGRATION \
+ "{ 'class': 'StreamingFeatureBlocksMigration', 'data': {} }"
+
#define QERR_TOO_MANY_FILES \
"{ 'class': 'TooManyFiles', 'data': {} }"
--
1.7.9.5