[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [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 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |