]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Add APIs for translating CPU features
authorJiri Denemark <jdenemar@redhat.com>
Thu, 6 Jun 2019 07:27:18 +0000 (09:27 +0200)
committerJiri Denemark <jdenemar@redhat.com>
Wed, 19 Jun 2019 22:22:38 +0000 (00:22 +0200)
commit61ee757e2002507d711c195628619b9eff38b57a
treeb8e90e6263054632be8619f4dc3bd48b86d2e211
parent24aa210d90770a6ea2313ebf2047c0a802932dca
qemu: Add APIs for translating CPU features

So far we always used libvirt's name of each CPU feature relying on
backward compatible aliases in QEMU. The new translation table can be
used whenever QEMU mandates or prefers canonical feature names.

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