[libvirt] [PATCHv3 3/6] cpu: x86: Add internal CPUID features support and KVM feature bits

Jiri Denemark jdenemar at redhat.com
Thu Nov 7 22:02:21 UTC 2013


On Mon, Nov 04, 2013 at 14:55:04 +0100, 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.
> ---
> 
> Notes:
>     Version 3:
>     - no changes to previous version
>     - ACKed by DanPB
>     
>     Version 2:
>     - Rebased to changes in previous patch.
> 
>  src/cpu/cpu_x86.c      | 64 ++++++++++++++++++++++++++++++++++++++++++++++++++
>  src/cpu/cpu_x86_data.h | 12 ++++++++++
>  2 files changed, 76 insertions(+)

ACK

Jirka




More information about the libvir-list mailing list