From patchwork Wed Jun 23 15:46:59 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luiz Capitulino X-Patchwork-Id: 56689 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id AE543B6F0E for ; Thu, 24 Jun 2010 01:48:32 +1000 (EST) Received: from localhost ([127.0.0.1]:35888 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ORSBg-0006Iu-To for incoming@patchwork.ozlabs.org; Wed, 23 Jun 2010 11:48:29 -0400 Received: from [140.186.70.92] (port=41324 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ORSAS-0006HR-7K for qemu-devel@nongnu.org; Wed, 23 Jun 2010 11:47:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1ORSAQ-0008DE-Ny for qemu-devel@nongnu.org; Wed, 23 Jun 2010 11:47:12 -0400 Received: from mx1.redhat.com ([209.132.183.28]:27660) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ORSAQ-0008Cs-EW for qemu-devel@nongnu.org; Wed, 23 Jun 2010 11:47:10 -0400 Received: from int-mx03.intmail.prod.int.phx2.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.16]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o5NFl9eO018828 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 23 Jun 2010 11:47:09 -0400 Received: from localhost (vpn-10-43.rdu.redhat.com [10.11.10.43]) by int-mx03.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o5NFl8xx013789; Wed, 23 Jun 2010 11:47:09 -0400 From: Luiz Capitulino To: qemu-devel@nongnu.org Date: Wed, 23 Jun 2010 12:46:59 -0300 Message-Id: <1277308019-17008-3-git-send-email-lcapitulino@redhat.com> In-Reply-To: <1277308019-17008-1-git-send-email-lcapitulino@redhat.com> References: <1277308019-17008-1-git-send-email-lcapitulino@redhat.com> X-Scanned-By: MIMEDefang 2.67 on 10.5.11.16 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. Cc: armbru@redhat.com Subject: [Qemu-devel] [PATCH 2/2] QError: Enhance QERR_DEVICE_NOT_ACTIVE's user desc X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org The 'by the guest' part is misleading, it could be disabled by the host too. We will likely need more surgery if we care for the distinction, just dropping the problematic part is good enough for now. Signed-off-by: Luiz Capitulino --- qerror.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/qerror.c b/qerror.c index 44d0bf8..cce1e7b 100644 --- a/qerror.c +++ b/qerror.c @@ -82,7 +82,7 @@ static const QErrorStringTable qerror_table[] = { }, { .error_fmt = QERR_DEVICE_NOT_ACTIVE, - .desc = "Device '%(device)' has not been activated by the guest", + .desc = "Device '%(device)' has not been activated", }, { .error_fmt = QERR_DEVICE_NOT_ENCRYPTED,