]> git.ipfire.org Git - thirdparty/libvirt.git/commit
cpu: Introduce virCPUValidateFeatures
authorJiri Denemark <jdenemar@redhat.com>
Thu, 14 Sep 2017 14:04:13 +0000 (16:04 +0200)
committerJiri Denemark <jdenemar@redhat.com>
Mon, 18 Sep 2017 08:40:12 +0000 (10:40 +0200)
commit6ef9c202f2a158fa5e7ad6b2a7da853da55ac395
tree3425d4bbaa10f54b278e71d89bd854ad926b960c
parent2ba32a86ddfa8992ade9d04c5661c1780781c09f
cpu: Introduce virCPUValidateFeatures

This new API may be used to check whether all features used in a CPU
definition are valid (e.g., libvirt knows their name, their policy is
supported, etc.). Leaving this API unimplemented in an arch subdriver
means libvirt does not restrict CPU features usable on the associated
architectures.

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
src/cpu/cpu.c
src/cpu/cpu.h
src/libvirt_private.syms