]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: Report default hyperv values in domain capabilities
authorMichal Privoznik <mprivozn@redhat.com>
Tue, 30 Sep 2025 13:05:10 +0000 (15:05 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Wed, 15 Oct 2025 08:04:11 +0000 (10:04 +0200)
commit57d2f4a0f0cbdb8006e99a3271bf363582843e91
tree4310f7ed362c116408bfb66e6419b4e2d7bacfde
parent4cc4f0b04aff289b4c5c18a14120db1b9d7c79fe
conf: Report default hyperv values in domain capabilities

So far the set of available Hyper-V enlightenments are reported
in domain capabilities. Well, some enlightenments are more than
just simple on/off switch. For instance, the 'spinlocks'
enlightenment expects a number, or 'vendor_id' expects a string.

All of these have some default values (at least in QEMU) and are
used when the passthrough mode is set.

Allow querying these defaults in domain capabilities XML.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
docs/formatdomaincaps.rst
src/conf/domain_capabilities.c
src/conf/domain_capabilities.h
src/conf/schemas/domaincaps.rng
src/libvirt_private.syms
src/qemu/qemu_capabilities.c