]> xenbits.xensource.com Git - xen.git/commit
Nested VMX: update nested paging mode on vmexit
authorYang Zhang <yang.z.zhang@Intel.com>
Mon, 24 Feb 2014 11:09:52 +0000 (12:09 +0100)
committerJan Beulich <jbeulich@suse.com>
Mon, 24 Feb 2014 11:09:52 +0000 (12:09 +0100)
commitfd1864f48d8914fb8eeb6841cd08c2c09b368909
tree6719073f1742e496a1fe239c24c3c15beb52fb52
parent199a0878195f3a271394d126c66e8030c461ebd3
Nested VMX: update nested paging mode on vmexit

Since SVM and VMX use different mechanism to emulate the virtual-vmentry
and virtual-vmexit, it's hard to update the nested paging mode correctly in
common code. So we need to update the nested paging mode in their respective
code path.
SVM already updates the nested paging mode on vmexit. This patch adds the same
logic in VMX side.

Previous discussion is here:
http://lists.xen.org/archives/html/xen-devel/2013-12/msg01759.html

Signed-off-by: Yang Zhang <yang.z.zhang@Intel.com>
Reviewed-by: Christoph Egger <chegger@amazon.de>
xen/arch/x86/hvm/vmx/vmx.c