[Qemu-devel] [PULL 63/65] slirp: call into g_debug() for DEBUG macros

2019-01-14 Thread Samuel Thibault
From: Marc-André Lureau 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

[Qemu-devel] [PULL 63/65] slirp: call into g_debug() for DEBUG macros

2019-01-13 Thread Samuel Thibault
From: Marc-André Lureau 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