[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] Hide 64bit-mode feature on i386 hypervisor.
# HG changeset patch # User kaf24@xxxxxxxxxxxxxxxxxxxx # Node ID 6ee4c16bfdec487d6b42d93ca88654178047d815 # Parent 9f9984af7f4092dd60cd064a6bc74cfc7f5af46b Hide 64bit-mode feature on i386 hypervisor. Signed-off-by: Xiaofeng Ling <xiaofeng.ling@xxxxxxxxx> diff -r 9f9984af7f40 -r 6ee4c16bfdec xen/arch/x86/vmx.c --- a/xen/arch/x86/vmx.c Fri Dec 16 17:54:57 2005 +++ b/xen/arch/x86/vmx.c Fri Dec 16 17:58:21 2005 @@ -544,6 +544,13 @@ clear_bit(X86_FEATURE_VMXE & 31, &ecx); clear_bit(X86_FEATURE_MWAIT & 31, &ecx); } +#ifdef __i386__ + else if ( input == 0x80000001 ) + { + /* Mask feature for Intel ia32e or AMD long mode. */ + clear_bit(X86_FEATURE_LM & 31, &edx); + } +#endif regs->eax = (unsigned long) eax; regs->ebx = (unsigned long) ebx; _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |