]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: More hyperv related members into a single struct
authorMichal Privoznik <mprivozn@redhat.com>
Tue, 30 Sep 2025 08:27:27 +0000 (10:27 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Wed, 15 Oct 2025 08:04:11 +0000 (10:04 +0200)
commit47271c204e5471f1cbd22cf34c0166455affc095
tree53644dff1f61cd31edfd1dcec0c6dfc725fbcfe6
parent064682ab330535bb1559045b5900398ae7a8d91d
conf: More hyperv related members into a single struct

So far, we have an array of integers (hyperv_features), an uint
(hyperv_spinlocks), a string (hyperv_vendor_id) and some tristate
switches scattered across virDomainDef. Soon, new knobs will be
introduced and keeping the current state would only worsen
readability.

Introduce virDomainHypervFeatures struct to place hyperv related
features there.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/conf/domain_conf.c
src/conf/domain_conf.h
src/conf/virconftypes.h
src/libxl/libxl_conf.c
src/qemu/qemu_command.c
src/qemu/qemu_process.c
src/qemu/qemu_validate.c