]> git.ipfire.org Git - thirdparty/libvirt.git/commit
domcaps: Add CPU usable flag
authorJiri Denemark <jdenemar@redhat.com>
Wed, 15 Jun 2016 14:15:44 +0000 (16:15 +0200)
committerJiri Denemark <jdenemar@redhat.com>
Thu, 22 Sep 2016 13:40:08 +0000 (15:40 +0200)
commitd4c007e6d58916d2d4eb0b71863dca834c5233f8
treec4b1b592066739bb0c4fcd283ec9bd1486ca7bcd
parent33f9ccc1414637a94e7744988e8858bbe91cdbcb
domcaps: Add CPU usable flag

In case a hypervisor is able to tell us a list of supported CPU models
and whether each CPU models can be used on the current host, we can
propagate this to domain capabilities. This is a better alternative
to calling virConnectCompareCPU for each supported CPU model.

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
14 files changed:
docs/formatdomaincaps.html.in
docs/schemas/domaincaps.rng
src/conf/domain_capabilities.c
src/conf/domain_capabilities.h
src/libvirt_private.syms
src/qemu/qemu_capabilities.c
tests/domaincapsschemadata/full.xml
tests/domaincapsschemadata/qemu_1.7.0.x86_64.xml
tests/domaincapsschemadata/qemu_2.6.0-gicv2-virt.aarch64.xml
tests/domaincapsschemadata/qemu_2.6.0-gicv3-virt.aarch64.xml
tests/domaincapsschemadata/qemu_2.6.0.aarch64.xml
tests/domaincapsschemadata/qemu_2.6.0.ppc64le.xml
tests/domaincapsschemadata/qemu_2.6.0.x86_64.xml
tests/domaincapstest.c