From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:53011) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SY0Nq-0004yo-AH for qemu-devel@nongnu.org; Fri, 25 May 2012 15:41:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SY0No-0004Do-BP for qemu-devel@nongnu.org; Fri, 25 May 2012 15:41:09 -0400 Received: from mx1.redhat.com ([209.132.183.28]:65175) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SY0No-0004CE-2Z for qemu-devel@nongnu.org; Fri, 25 May 2012 15:41:08 -0400 From: Luiz Capitulino Date: Fri, 25 May 2012 16:41:06 -0300 Message-Id: <1337974879-3656-2-git-send-email-lcapitulino@redhat.com> In-Reply-To: <1337974879-3656-1-git-send-email-lcapitulino@redhat.com> References: <1337974879-3656-1-git-send-email-lcapitulino@redhat.com> Subject: [Qemu-devel] [PATCH 01/14] qerror: extend QERR_TOO_MANY_FILES List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: aliguori@us.ibm.com, alevy@redhat.com, armbru@redhat.com Specify it's too many open files in the system (ENFILE). There's no compatibility problem because it's not used anywhere today. Signed-off-by: Luiz Capitulino --- qerror.c | 4 ++-- qerror.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/qerror.c b/qerror.c index 5092fe7..2c97382 100644 --- a/qerror.c +++ b/qerror.c @@ -279,8 +279,8 @@ static const QErrorStringTable qerror_table[] = { .desc = "Could not set password", }, { - .error_fmt = QERR_TOO_MANY_FILES, - .desc = "Too many open files", + .error_fmt = QERR_TOO_MANY_FILES_SYS, + .desc = "Too many opened files in the system", }, { .error_fmt = QERR_UNDEFINED_ERROR, diff --git a/qerror.h b/qerror.h index 4cbba48..9ddf09c 100644 --- a/qerror.h +++ b/qerror.h @@ -230,8 +230,8 @@ QError *qobject_to_qerror(const QObject *obj); #define QERR_SET_PASSWD_FAILED \ "{ 'class': 'SetPasswdFailed', 'data': {} }" -#define QERR_TOO_MANY_FILES \ - "{ 'class': 'TooManyFiles', 'data': {} }" +#define QERR_TOO_MANY_FILES_SYS \ + "{ 'class': 'TooManyFilesInSystem', 'data': {} }" #define QERR_UNDEFINED_ERROR \ "{ 'class': 'UndefinedError', 'data': {} }" -- 1.7.10.2.565.gbd578b5