qemu-e2k/softmmu
Paolo Bonzini 7520c4f084 trace: skip qemu_set_log_filename if no "-D" option was passed
When the "simple" backend is not active but the "log" backend is,
both "-trace file=" and "-D" will result in a call to
qemu_set_log_filename.  Unfortunately, QEMU was also calling
qemu_set_log_filename if "-D" was not passed, so the "-trace
file=" option had no effect and the tracepoints went back to
stderr.

Fortunately we can just skip qemu_set_log_filename in that case,
because the log backend will initialize itself just fine as soon
as qemu_set_log is called, also in qemu_process_early_options.

Cc: stefanha@redhat.com
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20210209145759.141231-3-pbonzini@redhat.com>
2021-03-06 11:42:57 +01:00
..
arch_init.c
balloon.c
bootdevice.c
cpu-throttle.c cpu-throttle: Remove timer_mod() from cpu_throttle_set() 2021-02-08 15:15:32 +01:00
cpu-timers.c
cpus.c sev/i386: Don't allow a system reset under an SEV-ES guest 2021-02-16 17:15:39 +01:00
datadir.c
device_tree.c
dma-helpers.c
globals.c
icount.c
ioport.c
main.c
memory_mapping.c
memory.c memory: alloc RAM from file at offset 2021-02-09 20:53:56 +00:00
meson.build seccomp: convert to meson 2021-01-06 10:21:20 +01:00
physmem.c memory: alloc RAM from file at offset 2021-02-09 20:53:56 +00:00
qdev-monitor.c clock: Define and use new clock_display_freq() 2021-01-04 23:24:44 +01:00
qemu-seccomp.c seccomp: convert to meson 2021-01-06 10:21:20 +01:00
qtest.c accel: extend AccelState and AccelClass to user-mode 2021-02-05 10:24:15 -10:00
rtc.c qom: Allow optional sugar props 2021-02-08 16:57:37 +11:00
runstate-action.c runstate: cleanup reboot and panic actions 2021-01-21 13:00:41 +01:00
runstate.c sev/i386: Don't allow a system reset under an SEV-ES guest 2021-02-16 17:15:39 +01:00
timers-state.h
tpm.c qapi: More complex uses of QAPI_LIST_APPEND 2021-01-28 08:08:45 +01:00
trace-events
trace.h
vl.c trace: skip qemu_set_log_filename if no "-D" option was passed 2021-03-06 11:42:57 +01:00