]> git.ipfire.org Git - thirdparty/qemu.git/commit
meson: build chardev trace files when have_block
authorDaniel P. Berrangé <berrange@redhat.com>
Tue, 23 Jul 2024 10:31:24 +0000 (11:31 +0100)
committerDaniel P. Berrangé <berrange@redhat.com>
Wed, 24 Jul 2024 09:39:10 +0000 (10:39 +0100)
commit48fc887436ce0fa54debec23219554194a13a6f9
tree30680845180724a907815fa288ac0f8d3b412b90
parente818c01ae6e7c54c7019baaf307be59d99ce80b9
meson: build chardev trace files when have_block

The QSD depends on chardev code, and is built when have_tools is
true. This means conditionalizing chardev trace on have_system
is wrong, we need have_block which is set have_system || have_tools.

This latent bug was historically harmless because only the spice
chardev included tracing, which wasn't built in a !have_system
scenario.

Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
meson.build