From patchwork Thu Nov 15 13:15:00 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hans de Goede X-Patchwork-Id: 199273 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 06A8F2C03A8 for ; Fri, 16 Nov 2012 00:13:51 +1100 (EST) Received: from localhost ([::1]:44783 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TYzGO-0007LD-Vf for incoming@patchwork.ozlabs.org; Thu, 15 Nov 2012 08:13:48 -0500 Received: from eggs.gnu.org ([208.118.235.92]:50253) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TYzFm-0005tm-Ud for qemu-devel@nongnu.org; Thu, 15 Nov 2012 08:13:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TYzFj-0002Rx-Sr for qemu-devel@nongnu.org; Thu, 15 Nov 2012 08:13:10 -0500 Received: from mx1.redhat.com ([209.132.183.28]:23686) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TYzFj-0002Rf-Ki for qemu-devel@nongnu.org; Thu, 15 Nov 2012 08:13:07 -0500 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id qAFDD7bb028795 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 15 Nov 2012 08:13:07 -0500 Received: from shalem.localdomain.com (vpn1-5-221.ams2.redhat.com [10.36.5.221]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id qAFDD2Dg031927; Thu, 15 Nov 2012 08:13:06 -0500 From: Hans de Goede To: Gerd Hoffmann Date: Thu, 15 Nov 2012 14:15:00 +0100 Message-Id: <1352985300-4712-4-git-send-email-hdegoede@redhat.com> In-Reply-To: <1352985300-4712-1-git-send-email-hdegoede@redhat.com> References: <1352985300-4712-1-git-send-email-hdegoede@redhat.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 209.132.183.28 Cc: Hans de Goede , qemu-devel@nongnu.org Subject: [Qemu-devel] [PATCH 3/3] usb-redir: Set default debug level to warning 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 The previous default of 0 means that even errors and warnings would not get printed, which is really not a good default. Signed-off-by: Hans de Goede --- hw/usb/redirect.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/usb/redirect.c b/hw/usb/redirect.c index 4cd32d6..c8e2718 100644 --- a/hw/usb/redirect.c +++ b/hw/usb/redirect.c @@ -1985,7 +1985,7 @@ static const VMStateDescription usbredir_vmstate = { static Property usbredir_properties[] = { DEFINE_PROP_CHR("chardev", USBRedirDevice, cs), - DEFINE_PROP_UINT8("debug", USBRedirDevice, debug, 0), + DEFINE_PROP_UINT8("debug", USBRedirDevice, debug, usbredirparser_warning), DEFINE_PROP_STRING("filter", USBRedirDevice, filter_str), DEFINE_PROP_INT32("bootindex", USBRedirDevice, bootindex, -1), DEFINE_PROP_END_OF_LIST(),