OSDN Git Service

qemu-log: Abstract out "print usage message about valid log categories"
authorPeter Maydell <peter.maydell@linaro.org>
Mon, 11 Feb 2013 16:41:21 +0000 (16:41 +0000)
committerBlue Swirl <blauwirbel@gmail.com>
Sat, 16 Feb 2013 10:44:11 +0000 (10:44 +0000)
commit59a6fa6e67d2335d867c66c59d992847e5b62879
tree7cfe5ed1882e24a51b8eff859594c23a06423d3a
parent9a7e54242910d26d280589e1f5c7ec8814d02a6b
qemu-log: Abstract out "print usage message about valid log categories"

Abstract out the "print a human readable list of all the
valid log categories" functionality which is currently duplicated
in three separate places. (We leave the monitor.c help_cmd()
implementation as-is since it wants to send the message to
the monitor and add its own information.)

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
bsd-user/main.c
cpus.c
include/qemu/log.h
linux-user/main.c
qemu-log.c