x86, hvm: Guest CPUID configuration.
authorKeir Fraser <keir.fraser@citrix.com>
Fri, 25 Apr 2008 12:44:45 +0000 (13:44 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Fri, 25 Apr 2008 12:44:45 +0000 (13:44 +0100)
commit5f14a87cebebd409cb50fe77b3d8348403ee7285
tree3c6746db0c5768eeb2469234f9706608f749933f
parent9fb02748d07b64a575da67a27e2af2c2f02bd3d6
x86, hvm: Guest CPUID configuration.

CPUID's replies are now pre-calculated in libxc and given to the
hypervisor via a new domctl.

There are two parts to this feature:
   - We can overwrite cpuid's replies.
   - We can check that a vm is compatible with a host's processor.

Signed-off-by: Jean Guyader <jean.guyader@eu.citrix.com>
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
17 files changed:
tools/examples/xmexample.hvm
tools/libxc/Makefile
tools/libxc/xc_cpufeature.h [new file with mode: 0644]
tools/libxc/xc_cpuid_x86.c [new file with mode: 0644]
tools/libxc/xenctrl.h
tools/python/xen/lowlevel/xc/xc.c
tools/python/xen/xend/XendCheckpoint.py
tools/python/xen/xend/XendConfig.py
tools/python/xen/xend/image.py
tools/python/xen/xm/create.py
xen/arch/x86/domain.c
xen/arch/x86/domctl.c
xen/arch/x86/hvm/hvm.c
xen/arch/x86/hvm/svm/svm.c
xen/arch/x86/hvm/vmx/vmx.c
xen/include/asm-x86/domain.h
xen/include/public/domctl.h