]> Git Repo - qemu.git/commitdiff
usb-redir: Set default debug level to warning
authorHans de Goede <[email protected]>
Thu, 15 Nov 2012 13:15:00 +0000 (14:15 +0100)
committerGerd Hoffmann <[email protected]>
Fri, 16 Nov 2012 10:27:32 +0000 (11:27 +0100)
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 <[email protected]>
Signed-off-by: Gerd Hoffmann <[email protected]>
hw/usb/redirect.c

index 32ae1034cc052eef9b17f33cf417f89761c62c38..0c95e6b05e1b05f90b746563bc7d8acafd247cd8 100644 (file)
@@ -1962,7 +1962,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(),
This page took 0.029318 seconds and 4 git commands to generate.