mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-30 15:00:34 +00:00
9f45a64109
Because trace_opt_parse always deletes the options it has parsed, trace_init_file's call to qemu_find_opts_singleton always creates an empty -trace option group. Therefore, the subsequent qemu_opt_get(opts, "file") always returns NULL. To fix this, save the last "-trace file=..." option in a global variable and use it later in trace_init_file. This is similar to what was done before commit |
||
---|---|---|
.. | ||
control-internal.h | ||
control-target.c | ||
control-vcpu.h | ||
control.c | ||
control.h | ||
event-internal.h | ||
ftrace.c | ||
ftrace.h | ||
mem-internal.h | ||
mem.h | ||
meson.build | ||
qmp.c | ||
simple.c | ||
simple.h |