Re: [PATCH v2 4/8] util: remove use of is_daemonized flag from logging code

2022-03-04 Thread Eric Blake
On Fri, Mar 04, 2022 at 06:56:16PM +, Daniel P. Berrangé wrote: > We want to decouple knowledge of daemonization from other code. What the > logging code really wants to know is whether it can use stdio or not. > Add an API to let the logging code be informed of this fact explicitly. > > Signe

[PATCH v2 4/8] util: remove use of is_daemonized flag from logging code

2022-03-04 Thread Daniel P . Berrangé
We want to decouple knowledge of daemonization from other code. What the logging code really wants to know is whether it can use stdio or not. Add an API to let the logging code be informed of this fact explicitly. Signed-off-by: Daniel P. Berrangé --- include/qemu/log.h | 1 + softmmu/vl.c