summary refs log tree commit diff stats
path: root/hw/net/virtio-net.c
diff options
context:
space:
mode:
authorJeff Cody <jcody@redhat.com>2016-04-07 17:24:19 -0400
committerJeff Cody <jcody@redhat.com>2016-06-28 22:52:45 -0400
commit7eac868a508cdbf4cccef5c2084941b63fa3aded (patch)
tree12886e844bba610712f473a988b1921b1842b8ad /hw/net/virtio-net.c
parentff04198bf576beac5793c445c008ccc9d48f87d5 (diff)
downloadfocaccia-qemu-7eac868a508cdbf4cccef5c2084941b63fa3aded.tar.gz
focaccia-qemu-7eac868a508cdbf4cccef5c2084941b63fa3aded.zip
block/gluster: add support for selecting debug logging level
This adds commandline support for the logging level of the
gluster protocol driver, output to stdout.  The option is 'debug',
e.g.:

-drive filename=gluster://192.168.15.180/gv2/test.qcow2,debug=9

Debug levels are 0-9, with 9 being the most verbose, and 0 representing
no debugging output.  The default is the same as it was before, which
is a level of 4.  The current logging levels defined in the gluster
source are:

    0 - None
    1 - Emergency
    2 - Alert
    3 - Critical
    4 - Error
    5 - Warning
    6 - Notice
    7 - Info
    8 - Debug
    9 - Trace

(From: glusterfs/logging.h)

Reviewed-by: Niels de Vos <ndevos@redhat.com>
Signed-off-by: Jeff Cody <jcody@redhat.com>
Diffstat (limited to 'hw/net/virtio-net.c')
0 files changed, 0 insertions, 0 deletions