]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu_capabilities: Introduce virQEMUCapsGetCPUFeatures
authorJiri Denemark <jdenemar@redhat.com>
Tue, 15 May 2018 20:03:19 +0000 (22:03 +0200)
committerJiri Denemark <jdenemar@redhat.com>
Mon, 28 May 2018 13:59:11 +0000 (15:59 +0200)
commit4eebaa4ca3b99e069453c24e6ccfafd17b8d1059
tree7647e38cb81481ead19bddae281d07ec2d6df0b4
parent7fb950958acf0e93e432569c4cd191911ab76121
qemu_capabilities: Introduce virQEMUCapsGetCPUFeatures

The function creates a list of all (or migratable only) CPU features
supported by QEMU. It works by looking at the CPU model info returned by
query-cpu-model-expansion QMP command.

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Collin Walling <walling@linux.ibm.com>
src/qemu/qemu_capabilities.c
src/qemu/qemu_capabilities.h