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] [PATCH] cpuid handling for guest

To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] cpuid handling for guest
From: "Kamble, Nitin A" <nitin.a.kamble@xxxxxxxxx>
Date: Fri, 9 Jun 2006 13:12:51 -0700
Cc: "Mallick, Asit K" <asit.k.mallick@xxxxxxxxx>, Ian Pratt <m+Ian.Pratt@xxxxxxxxxxxx>, "Yu, Wilfred" <wilfred.yu@xxxxxxxxx>, "Nakajima, Jun" <jun.nakajima@xxxxxxxxx>
Delivery-date: Fri, 09 Jun 2006 13:13:19 -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/PnmCGQ==
Thread-topic: [PATCH] cpuid handling for guest

Hi Keir, Ian,

   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.

  

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

 

Attachment: cpuid_13.patch
Description: cpuid_13.patch

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>