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

[Xen-devel] [PATCH] VMX detection based on the MSRS


  • To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • 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
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • 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

 


Rackspace

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