]> git.ipfire.org Git - thirdparty/libvirt.git/commit
libxl_conf: Implement hyperv domain flags for Xen
authorWill <tcosprojects@gmail.com>
Tue, 25 Mar 2025 06:24:06 +0000 (23:24 -0700)
committerJim Fehlig <jfehlig@suse.com>
Thu, 3 Apr 2025 21:47:52 +0000 (15:47 -0600)
commit410dfde9bbba88f32e89cd71f5b89e3a7ec13e23
treef4d6df87bd98cc3139f67871906b395a5d0e0692
parent312088d9b62334c950310f369b2e0fe2302a74a3
libxl_conf: Implement hyperv domain flags for Xen

Adds support for configuring <hyperv/> flags for domains
running under Xen.

The following flags, making use of QEMU's existing flags, are now
configurable for Xen: vapic, synic, stimer, frequencies, tlbflush and
ipi.

Tests have been added validating translation to libxl's viridian flags

Updated docs section on <hyperv/> flags to note support and to specify
which flags work with Xen.

Signed-off-by: Will <tcosprojects@gmail.com>
Reviewed-by: Jim Fehlig <jfehlig@suse.com>
docs/formatdomain.rst
src/libxl/libxl_conf.c
tests/libxlxml2domconfigdata/viridian-hvm-full.json [new file with mode: 0644]
tests/libxlxml2domconfigdata/viridian-hvm-full.xml [new file with mode: 0644]
tests/libxlxml2domconfigdata/viridian-hvm.json [new file with mode: 0644]
tests/libxlxml2domconfigdata/viridian-hvm.xml [new file with mode: 0644]
tests/libxlxml2domconfigdata/viridian-passthrough.json [new file with mode: 0644]
tests/libxlxml2domconfigdata/viridian-passthrough.xml [new file with mode: 0644]
tests/libxlxml2domconfigtest.c