Re: [PATCH 1/4] linux-user: Use `qemu_log' for non-strace logging

2020-01-17 Thread Josh Kunz
On Tue, Jan 14, 2020 at 2:43 AM Alex Bennée wrote: > > As Laurent said I think LOG_UNIMP is perfectly fine for stuff we haven't > done. I don't think any of the cases warrant LOG_GUEST_ERROR. I've replaced `LOG_USER` with `LOG_UNIMP`. Didn't catch that mask at first, LOG_UNIMP is indeed a better

Re: [PATCH 1/4] linux-user: Use `qemu_log' for non-strace logging

2020-01-14 Thread Alex Bennée
Josh Kunz writes: > This change introduces a new logging mask "LOG_USER", which is used for > masking general user-mode logging. This change also switches all non-strace > uses of `gemu_log' in linux-user/ to use `qemu_log_mask(LOG_USER, ...)' > instead. This allows the user to easily log to a

Re: [PATCH 1/4] linux-user: Use `qemu_log' for non-strace logging

2020-01-14 Thread Laurent Vivier
Le 14/01/2020 à 04:01, Josh Kunz a écrit : > This change introduces a new logging mask "LOG_USER", which is used for > masking general user-mode logging. This change also switches all non-strace > uses of `gemu_log' in linux-user/ to use `qemu_log_mask(LOG_USER, ...)' > instead. This allows the use

Re: [PATCH 1/4] linux-user: Use `qemu_log' for non-strace logging

2020-01-14 Thread Laurent Vivier
Le 14/01/2020 à 04:01, Josh Kunz a écrit : > This change introduces a new logging mask "LOG_USER", which is used for > masking general user-mode logging. This change also switches all non-strace > uses of `gemu_log' in linux-user/ to use `qemu_log_mask(LOG_USER, ...)' > instead. This allows the use

[PATCH 1/4] linux-user: Use `qemu_log' for non-strace logging

2020-01-13 Thread Josh Kunz
This change introduces a new logging mask "LOG_USER", which is used for masking general user-mode logging. This change also switches all non-strace uses of `gemu_log' in linux-user/ to use `qemu_log_mask(LOG_USER, ...)' instead. This allows the user to easily log to a file, and to mask out these lo