diff options
author | Markus Armbruster | 2020-05-27 08:56:13 +0200 |
---|---|---|
committer | Stefan Hajnoczi | 2020-06-24 12:21:00 +0200 |
commit | db25d56c014aa1a96319c663e0a60346a223b31e (patch) | |
tree | 71eba884363be7e000b42695fb7b20058f3bf327 /hw/i386/pc.c | |
parent | scripts/tracetool: Update maintainer email address (diff) | |
download | qemu-db25d56c014aa1a96319c663e0a60346a223b31e.tar.gz qemu-db25d56c014aa1a96319c663e0a60346a223b31e.tar.xz qemu-db25d56c014aa1a96319c663e0a60346a223b31e.zip |
trace/simple: Fix unauthorized enable
st_set_trace_file() accidentally enables tracing. It's called
unconditionally during startup, which is why QEMU built with the
simple trace backend always writes a trace file "trace-$PID".
This has been broken for quite a while. I didn't track down the exact
commit.
Fix st_set_trace_file() to restore the state.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-id: 20200527065613.25322-1-armbru@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'hw/i386/pc.c')
0 files changed, 0 insertions, 0 deletions