]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Use command line to properly check for spice support
authorJim Fehlig <jfehlig@suse.com>
Wed, 31 Aug 2022 23:10:55 +0000 (17:10 -0600)
committerJim Fehlig <jfehlig@suse.com>
Fri, 14 Oct 2022 22:10:11 +0000 (16:10 -0600)
commite7d6f2d958705bf3298cbe7c1e7d9ded772a643c
tree48ee04f6cf78d7152f5e6b04da2d55d014e7f5f8
parent4e13cc4adbdd9319e6c25af44bdbe5c9cb09d205
qemu: Use command line to properly check for spice support

domcapabilities reports spice graphics support even against a minimal
qemu installation without spice modules. Checking for 'query-spice'
in the list of qmp commands supported by qemu is not sufficient to
determine spice support. Checking the command line produces acurrate
results.

Signed-off-by: Jim Fehlig <jfehlig@suse.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/qemu/qemu_capabilities.c