summaryrefslogtreecommitdiffstats
path: root/hw/virtio/virtio-input-host-pci.c
diff options
context:
space:
mode:
authorMarc-André Lureau2018-11-21 23:06:41 +0100
committerSamuel Thibault2019-01-14 23:36:38 +0100
commit226ea7a96485f2b9db13b523551c536dc68a1689 (patch)
treec2e90a49e934d31ca6e22678888e63c07785f856 /hw/virtio/virtio-input-host-pci.c
parentslirp: set G_LOG_DOMAIN (diff)
downloadqemu-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 'hw/virtio/virtio-input-host-pci.c')
0 files changed, 0 insertions, 0 deletions