qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 3/8] QError: Add QMP mode-oriented errors


From: Anthony Liguori
Subject: Re: [Qemu-devel] [PATCH 3/8] QError: Add QMP mode-oriented errors
Date: Thu, 28 Jan 2010 16:49:00 -0600
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.5) Gecko/20091209 Fedora/3.0-4.fc12 Lightning/1.0pre Thunderbird/3.0

On 01/28/2010 07:42 AM, Luiz Capitulino wrote:
Two new errors:

- QERR_QMP_INVALID_MODE_NAME
- QERR_QMP_INVALID_MODE_TRANSITION

Signed-off-by: Luiz Capitulino<address@hidden>
---
  qerror.c |    8 ++++++++
  qerror.h |    6 ++++++
  2 files changed, 14 insertions(+), 0 deletions(-)

diff --git a/qerror.c b/qerror.c
index 6c2aba0..d01354d 100644
--- a/qerror.c
+++ b/qerror.c
@@ -113,6 +113,14 @@ static const QErrorStringTable qerror_table[] = {
          .desc      = "Bad QMP input object",
      },
      {
+        .error_fmt = QERR_QMP_INVALID_MODE_NAME,
+        .desc      = "Mode name %(name) is invalid",
+    },

This is basically, invalid parameter, no?

Regards,

Anthony Liguori




reply via email to

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