Re: [PATCH v5 13/24] monitor: refactor error_vprintf()
Markus Armbruster <[email protected]> Tue, 13 Jan 2026 14:17:56 +0100
| Newsgroups | org.nongnu.qemu-rust,org.nongnu.qemu-devel |
|---|---|
| Message-ID | <[email protected]> |
Daniel P. Berrangé <[email protected]> writes: > The monitor_vprintf() code will return -1 if either the monitor > is NULL, or the monitor is QMP. The error_vprintf() code can > take advantage of this to avoid having to duplicate the same > checks, and instead simply look at the return value. > > Reviewed-by: Richard Henderson <[email protected]> > Signed-off-by: Daniel P. Berrangé <[email protected]> Reviewed-by: Markus Armbruster <[email protected]>