diff options
author | Marc-André Lureau | 2018-11-21 23:06:41 +0100 |
---|---|---|
committer | Samuel Thibault | 2019-01-14 23:36:38 +0100 |
commit | 226ea7a96485f2b9db13b523551c536dc68a1689 (patch) | |
tree | c2e90a49e934d31ca6e22678888e63c07785f856 /scripts/qapi/introspect.py | |
parent | slirp: set G_LOG_DOMAIN (diff) | |
download | qemu-226ea7a96485f2b9db13b523551c536dc68a1689.tar.gz qemu-226ea7a96485f2b9db13b523551c536dc68a1689.tar.xz qemu-226ea7a96485f2b9db13b523551c536dc68a1689.zip |
slirp: call into g_debug() for DEBUG macros
Make slirp use GLib logging, instead of fprintf(), so that
applications can filter log, process it etc.
With recent versions of glib, G_MESSAGES_DEBUG must be set to "all" or
"Slirp" to see slirp debug messages.
Reformat DEBUG_MISC & DEBUG_ERROR calls to not need \n ending.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Diffstat (limited to 'scripts/qapi/introspect.py')
0 files changed, 0 insertions, 0 deletions