]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Translate feature names from query-cpu-model-expansion
authorJiri Denemark <jdenemar@redhat.com>
Mon, 17 Jun 2019 11:54:53 +0000 (13:54 +0200)
committerJiri Denemark <jdenemar@redhat.com>
Wed, 19 Jun 2019 22:22:39 +0000 (00:22 +0200)
commitec232c5ddc3cc47651a815dcf4cff7cd31910b3e
treefebe92dd4b1c513264b8daaa2d0d05bd78a12201
parent5030a7450b0f0117a7903303572c6bda6c012327
qemu: Translate feature names from query-cpu-model-expansion

By default query-cpu-model-expansion only reports canonical names of all
CPU features. We do some magic and call the command twice to get all
possible spellings of the features, but being able to consume canonical
names will allow us to drop this magic.

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_capabilities.c
src/qemu/qemu_capspriv.h
tests/cputest.c