summary refs log tree commit diff stats
path: root/qemu-char.c
diff options
context:
space:
mode:
authorAlex Bennée <alex.bennee@linaro.org>2016-03-15 14:30:23 +0000
committerPaolo Bonzini <pbonzini@redhat.com>2016-03-22 22:20:18 +0100
commitf6880b7f48ffd4aa038d7a964a3820b1c18d5307 (patch)
tree7b66d60ea95a3eb3bee2a99bbd622d157ece35a4 /qemu-char.c
parent064860778bf1539f95c886fef86080aa132ca1e2 (diff)
downloadfocaccia-qemu-f6880b7f48ffd4aa038d7a964a3820b1c18d5307.tar.gz
focaccia-qemu-f6880b7f48ffd4aa038d7a964a3820b1c18d5307.zip
qemu-log: support simple pid substitution for logs
When debugging stuff that occurs over several forks it would be useful
not to keep overwriting the one logfile you've set-up. This allows a
simple %d to be included once in the logfile parameter which is
substituted with getpid().

As the test cases involve checking user output they need
g_test_trap_subprocess() support. As a result they are currently skipped
on Travis builds due to the older glib involved.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Leandro Dorileo <l@dorileo.org>
Reviewed-by: Aurelien Jarno <aurelien@aurel32.net>
Reviewed-by: Richard Henderson  <rth@twiddle.net>
Message-Id: <1458052224-9316-10-git-send-email-alex.bennee@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'qemu-char.c')
0 files changed, 0 insertions, 0 deletions