KVM: nVMX: introduce nested_get_vmcs12_pages
authorWanpeng Li <wanpeng.li@linux.intel.com>
Thu, 21 Aug 2014 11:46:49 +0000 (19:46 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 29 Aug 2014 12:02:48 +0000 (14:02 +0200)
commita2bcba5035bb3d7fb3099e1893026316365f4b5d
tree8de8c1f7957e730a0835b60bd5bb7de4bb09cf0f
parent44b5ce73c99c389817be71b9161bceb197d40ecb
KVM: nVMX: introduce nested_get_vmcs12_pages

Introduce function nested_get_vmcs12_pages() to check the valid
of nested apic access page and virtual apic page earlier.

Signed-off-by: Wanpeng Li <wanpeng.li@linux.intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx.c