]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: Parse hyperv features even for host-model
authorMichal Privoznik <mprivozn@redhat.com>
Wed, 11 Feb 2026 09:16:28 +0000 (10:16 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Fri, 13 Feb 2026 08:08:45 +0000 (09:08 +0100)
commit380fb8939009a420f598175e63994a5bf197fd56
tree996fbfc67fc287a81d4a856fd0ccea9c3b5d7081
parent79b05df9f8464b08f1229ab1a89f9174688d02ab
conf: Parse hyperv features even for host-model

As it turns out, some users of the hyperv "host-model" mode might
want to override the hypervisor defaults. For instance disable a
feature that's on by default, or vice versa. Currently, this is
not possible because as soon as our XML parser sees the
"host-model" mode it exits early and skips parsing of individual
features (for "custom" mode). Well, do not return early and parse
the rest.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
docs/formatdomain.rst
src/conf/domain_conf.c
src/conf/schemas/domaincommon.rng
tests/qemuxmlconfdata/hyperv-host-model.x86_64-latest.xml
tests/qemuxmlconfdata/hyperv-host-model.xml