]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Don't use full CPU model expansion
authorJiri Denemark <jdenemar@redhat.com>
Wed, 12 Jun 2019 11:54:27 +0000 (13:54 +0200)
committerJiri Denemark <jdenemar@redhat.com>
Wed, 19 Jun 2019 22:22:39 +0000 (00:22 +0200)
commita3f2c802d240b6183b037ef4a1ca53b5de440800
tree121b958f06d03242ea0abb8cb7a789dc5b9d6f00
parentec232c5ddc3cc47651a815dcf4cff7cd31910b3e
qemu: Don't use full CPU model expansion

We used type=full expansion on the result of previous type=static
expansion to get all possible spellings of CPU features. Since we can
now translate the QEMU's canonical names to our names, we can drop this
magic and do only type=static CPU model expansion.

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_capabilities.c
tests/qemucapabilitiesdata/caps_4.1.0.x86_64.replies
tests/qemucapabilitiesdata/caps_4.1.0.x86_64.xml