[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] RE: [PATCH] cpuid handling for guest



>    Attached is a patch to provide right view of cpuid to the HVM
guests.
> Some of the CPU features such as APIC, PAE, MTRR, HT are virtualized;
while
> others are not virtualized yet such as TM1, TM2, MCA and there are
some
> features which do not need virtualization such as MMX. With the patch
Guest
> sees only those processor features in the cpuid which are virtualized
in
> the hyper visor, or do not need any virtualization in hyper visor.

It might still be useful to selectively hide features such as MMX from
guests. Having something in the guest config to mask a set of feature
flags from a guest would be useful IMO. Could you extend the patch to
add this?

Thanks,
Ian

> 
> 
> diffstat cpuid_13.patch
> 
>  arch/x86/hvm/hvm.c            |    2
> 
>  arch/x86/hvm/vmx/vmx.c        |   96
+++++++++++++++++++++++++------------
> -----
> 
>  include/asm-x86/cpufeature.h  |    3 -
> 
>  include/asm-x86/hvm/domain.h  |    1
> 
>  include/asm-x86/hvm/vmx/cpu.h |   17 +++++++
> 
>  5 files changed, 81 insertions(+), 38 deletions(-)
> 
> 
> 
> Signed-Off-By: Nitin A Kamble <nitin.a.kamble@xxxxxxxxx>
> 
> Signed-Off-By: Jun Nakajima <jun.nakajima@xxxxxxxxx>
> 
> Signed-Off-By: Asit Mallick <asit.k.mallick@xxxxxxxxx>
> 
> 
> 
> Thanks & Regards,
> 
> Nitin
> 
>
------------------------------------------------------------------------
---
> --------
> 
> Open Source Technology Center, Intel Corp
> 
> 


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.