mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-11 03:24:58 -06:00
util/log: Pass Error pointer to qemu_set_log
Do not force exit within qemu_set_log; return bool and pass an Error value back up the stack as per usual. Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20220417183019.755276-5-richard.henderson@linaro.org>
This commit is contained in:
parent
e2c7c6a454
commit
c5955f4ff4
12 changed files with 22 additions and 18 deletions
|
@ -147,7 +147,7 @@ typedef struct QEMULogItem {
|
|||
|
||||
extern const QEMULogItem qemu_log_items[];
|
||||
|
||||
void qemu_set_log(int log_flags);
|
||||
bool qemu_set_log(int log_flags, Error **errp);
|
||||
bool qemu_set_log_filename(const char *filename, Error **errp);
|
||||
void qemu_set_dfilter_ranges(const char *ranges, Error **errp);
|
||||
bool qemu_log_in_addr_range(uint64_t addr);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue