commit | 6beb7bd52e482c213dfa6c1c88e27a579df5bf4d | [log] [tgz] |
---|---|---|
author | Jim Mattson <jmattson@google.com> | Wed Nov 30 12:03:45 2016 -0800 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Wed Feb 15 14:56:11 2017 +0100 |
tree | 4c1f599f5e1c870ba06d109557c517bdc17f41a4 | |
parent | a8bc284eb70f58a4fd0f4a70d816cca28ca01973 [diff] |
kvm: nVMX: Refactor nested_get_vmcs12_pages() Perform the checks on vmcs12 state early, but defer the gpa->hpa lookups until after prepare_vmcs02. Later, when we restore the checkpointed state of a vCPU in guest mode, we will not be able to do the gpa->hpa lookups when the restore is done. Signed-off-by: Jim Mattson <jmattson@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>