]> xenbits.xensource.com Git - xen.git/commit
Nested VMX: Clear bit 31 of IA32_VMX_BASIC MSR
authorYang Zhang <yang.z.zhang@Intel.com>
Tue, 10 Sep 2013 14:41:35 +0000 (16:41 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 10 Sep 2013 14:41:35 +0000 (16:41 +0200)
commitf3a4eb9253826d1e49e682314c8666b28fa0b717
tree6ea173e30ff137782d8474b97f3dc75153e97dfb
parentef0ea8c2bbb3718df1dee8f15ff3206bf592b253
Nested VMX: Clear bit 31 of IA32_VMX_BASIC MSR

The bit 31 of revision_id will set to 1 if vmcs shadowing enabled. And
according intel SDM, the bit 31 of IA32_VMX_BASIC MSR is always 0. So we
cannot set low 32 bit of IA32_VMX_BASIC to revision_id directly. Must clear
the bit 31 to 0.

Signed-off-by: Yang Zhang <yang.z.zhang@Intel.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/hvm/vmx/vvmx.c