]> git.ipfire.org Git - thirdparty/libvirt.git/commit
cpu: x86: Add internal CPUID features support and KVM feature bits
authorPeter Krempa <pkrempa@redhat.com>
Wed, 9 Oct 2013 09:42:24 +0000 (11:42 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 8 Nov 2013 08:44:42 +0000 (09:44 +0100)
commit2e8f90802ddc5405121ba1b92f47b885867a325a
tree6127ed11d6acf42471cd44af4c64a975d0e4d10e
parent3afde0756ff1b87912f36268fd80617c34f1164a
cpu: x86: Add internal CPUID features support and KVM feature bits

Some of the emulator features are presented in the <features> element in
the domain XML although they are virtual CPUID feature bits when
presented to the guest. To avoid confusing the users with these
features, as they are not configurable via the <cpu> element, this patch
adds an internal array where those can be stored privately instead of
exposing them in the XML.

Additionaly KVM feature bits are added as example usage of this code.
src/cpu/cpu_x86.c
src/cpu/cpu_x86_data.h