WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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

To: "Kamble, Nitin A" <nitin.a.kamble@xxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] RE: [PATCH] cpuid handling for guest
From: "Ian Pratt" <m+Ian.Pratt@xxxxxxxxxxxx>
Date: Sat, 10 Jun 2006 13:41:30 +0100
Cc: "Mallick, Asit K" <asit.k.mallick@xxxxxxxxx>, "Yu, Wilfred" <wilfred.yu@xxxxxxxxx>, "Nakajima, Jun" <jun.nakajima@xxxxxxxxx>
Delivery-date: Sat, 10 Jun 2006 05:41:58 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcaMARXC26dQawmUSiGZyql/PnmCGQAieEKg
Thread-topic: [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

<Prev in Thread] Current Thread [Next in Thread>