[libvirt] [PATCHv2 20/23] cpu: x86: Add internal CPUID features support and KVM feature bits

Daniel P. Berrange berrange at redhat.com
Tue Oct 15 13:47:29 UTC 2013


On Tue, Oct 15, 2013 at 02:30:49PM +0200, Peter Krempa wrote:
> 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      | 63 ++++++++++++++++++++++++++++++++++++++++++++++++++
>  src/cpu/cpu_x86_data.h | 12 ++++++++++
>  2 files changed, 75 insertions(+)

ACK


Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|




More information about the libvir-list mailing list