]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Introduce VIR_CONNECT_BASELINE_CPU_IGNORE_HOST flag
authorJiri Denemark <jdenemar@redhat.com>
Mon, 23 Jun 2025 13:37:53 +0000 (15:37 +0200)
committerJiri Denemark <jdenemar@redhat.com>
Fri, 18 Jul 2025 09:56:13 +0000 (11:56 +0200)
commitbef64f9653e3790231d4f6b04cbb05370b574863
tree63eaaf653173d1b9431951be1f790236e1678399
parent905d6395b7978a70a667fe470704e47f84e67771
Introduce VIR_CONNECT_BASELINE_CPU_IGNORE_HOST flag

With this new flag virConnectHypervisorBaselineCPU can be used on any
host (rather than being limited to hosts described by individual CPUs
passed to the API). Using the flag makes the API behave similarly to the
old virConnectBaselineCPU. The main difference is the CPU definition
accepted by both APIs: the old one only accepts host CPU definition,
i.e., without 'policy' attributes as seen in the host capabilities XML.

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
include/libvirt/libvirt-host.h
src/libvirt-host.c