Re: [PATCH v2 01/39] vl: fix -monitor none prefix matching

Daniel P. Berrangé <[email protected]>
Newsgroups gmane.comp.emulators.qemu
Message-ID <[email protected]>
On Fri, Jun 26, 2026 at 01:19:02AM +0400, Marc-André Lureau wrote:
> Use g_strcmp0() for exact match instead of strncmp() which would
> incorrectly treat any string starting with "none" as disabling
> the monitor.
> 
> Fixes: 70e098af88f ("monitor: allow to disable the default monitor")
> Signed-off-by: Marc-André Lureau <[email protected]>
> ---
>  system/vl.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Daniel P. Berrangé <[email protected]>


With regards,
Daniel
-- 
|: https://berrange.com       ~~        https://hachyderm.io/@berrange :|
|: https://libvirt.org          ~~          https://entangle-photo.org :|
|: https://pixelfed.art/berrange   ~~    https://fstop138.berrange.com :|
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.