From mboxrd@z Thu Jan 1 00:00:00 1970 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 From: Hans de Goede 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> Subject: [Qemu-devel] [PATCH 3/3] usb-redir: Set default debug level to warning List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gerd Hoffmann Cc: Hans de Goede , qemu-devel@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(), -- 1.7.12.1