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] VMX detection based on the MSRS

To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] VMX detection based on the MSRS
From: "Kamble, Nitin A" <nitin.a.kamble@xxxxxxxxx>
Date: Fri, 20 May 2005 14:00:17 -0700
Delivery-date: Fri, 20 May 2005 21:00:15 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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: AcVdWm02hb3Pu+YAQLqOVxR4E2LZ8wAANg9QAAh+yuA=
Thread-topic: [PATCH] VMX detection based on the MSRS
   Attached is the patch to detect the VMX feature as specified in the
public spec. The existing code uses hard-coding which can break on
future processors.

Signed-off-by: Nitin Kamble <nitin.a.kamble@xxxxxxxxx>
Signed-off-by: Jun Nakajima <jun.nakajima@xxxxxxxxx>
---
 arch/x86/vmx.c             |   16 ++++++++++++++--
 arch/x86/vmx_vmcs.c        |    6 ++++--
 include/asm-x86/msr.h      |    6 ++++++
 include/asm-x86/vmx_vmcs.h |    1 -
 4 files changed, 24 insertions(+), 5 deletions(-)

Thanks & Regards, 
Nitin 
__________________________________________________________ 
Senior Software Engineer, 
Intel Open Source Technology Center

Attachment: vmx_msrs.patch
Description: vmx_msrs.patch

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] VMX detection based on the MSRS, Kamble, Nitin A <=