Re: [PATCH v2 6/8] chardev: add API to block use of the stdio implementation

2022-03-04 Thread Eric Blake
On Fri, Mar 04, 2022 at 06:56:18PM +, Daniel P. Berrangé wrote: > When daemonizing QEMU it is not possible to use the stdio chardev > backend because the file descriptors are connected to /dev/null. > Currently the chardev checks for this scenario directly, but to > decouple it from the system

[PATCH v2 6/8] chardev: add API to block use of the stdio implementation

2022-03-04 Thread Daniel P . Berrangé
When daemonizing QEMU it is not possible to use the stdio chardev backend because the file descriptors are connected to /dev/null. Currently the chardev checks for this scenario directly, but to decouple it from the system emulator daemonizing code, we reverse the relationship. Now the system emula