diff options
author | Alex Bennée | 2016-03-15 15:30:23 +0100 |
---|---|---|
committer | Paolo Bonzini | 2016-03-22 22:20:18 +0100 |
commit | f6880b7f48ffd4aa038d7a964a3820b1c18d5307 (patch) | |
tree | 7b66d60ea95a3eb3bee2a99bbd622d157ece35a4 /target-i386/helper.c | |
parent | target-arm: dfilter support for in_asm (diff) | |
download | qemu-f6880b7f48ffd4aa038d7a964a3820b1c18d5307.tar.gz qemu-f6880b7f48ffd4aa038d7a964a3820b1c18d5307.tar.xz 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 'target-i386/helper.c')
0 files changed, 0 insertions, 0 deletions