From patchwork Thu Oct 27 19:02:09 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luiz Capitulino X-Patchwork-Id: 122238 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [140.186.70.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id DE289B6F93 for ; Fri, 28 Oct 2011 06:40:26 +1100 (EST) Received: from localhost ([::1]:37136 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RJVoL-0005Fh-Al for incoming@patchwork.ozlabs.org; Thu, 27 Oct 2011 15:40:21 -0400 Received: from eggs.gnu.org ([140.186.70.92]:44347) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RJVET-0005Gg-GE for qemu-devel@nongnu.org; Thu, 27 Oct 2011 15:03:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RJVER-00027t-02 for qemu-devel@nongnu.org; Thu, 27 Oct 2011 15:03:17 -0400 Received: from mx1.redhat.com ([209.132.183.28]:50902) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RJVEQ-00027j-EC for qemu-devel@nongnu.org; Thu, 27 Oct 2011 15:03:14 -0400 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p9RJ2i7H013222 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 27 Oct 2011 15:02:44 -0400 Received: from localhost (ovpn-113-103.phx2.redhat.com [10.3.113.103]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id p9RJ2hjx027972; Thu, 27 Oct 2011 15:02:44 -0400 From: Luiz Capitulino To: aliguori@us.ibm.com Date: Thu, 27 Oct 2011 17:02:09 -0200 Message-Id: <1319742136-8691-13-git-send-email-lcapitulino@redhat.com> In-Reply-To: <1319742136-8691-1-git-send-email-lcapitulino@redhat.com> References: <1319742136-8691-1-git-send-email-lcapitulino@redhat.com> X-Scanned-By: MIMEDefang 2.67 on 10.5.11.11 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 209.132.183.28 Cc: mdroth@linux.vnet.ibm.com, qemu-devel@nongnu.org Subject: [Qemu-devel] [PATCH 12/19] qerror: Add a user string for QERR_FEATURE_DISABLED X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Missing from commit 821601ea5b. Signed-off-by: Luiz Capitulino --- qerror.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/qerror.c b/qerror.c index 68998d4..4b48b39 100644 --- a/qerror.c +++ b/qerror.c @@ -117,6 +117,10 @@ static const QErrorStringTable qerror_table[] = { .desc = "No file descriptor supplied via SCM_RIGHTS", }, { + .error_fmt = QERR_FEATURE_DISABLED, + .desc = "The feature '%(name)' is not enabled", + }, + { .error_fmt = QERR_INVALID_BLOCK_FORMAT, .desc = "Invalid block format '%(name)'", },