On Fri, Sep 18, 2026 at 07:29:52PM -0300, Fabiano Rosas wrote:
> Get rid of the pattern qemu_parse_opts(qemu_find_opts("some-opt")) by
> passing the string directly to qemu_parse_opts().
>
> Don't check for NULL list at this time to preserve the old behavior. A
> subsequent patch will correct that.
>
> Signed-off-by: Fabiano Rosas <[email protected]>
> ---
> include/qemu/option.h | 2 +-
> system/vl.c | 5 ++---
> tests/unit/test-opts-visitor.c | 12 ++++--------
> util/qemu-option.c | 19 +++++++++++--------
> 4 files changed, 18 insertions(+), 20 deletions(-)
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 :|