commit | 7c93be44a4790b0fd9dddf29c5503cf86c105304 | [log] [tgz] |
---|---|---|
author | Marcelo Tosatti <mtosatti@redhat.com> | Mon Oct 26 16:48:33 2009 -0200 |
committer | Avi Kivity <avi@redhat.com> | Thu Dec 03 09:32:22 2009 +0200 |
tree | 1c7b1d315b9e186b286843c30c54ca8c70f168c0 | |
parent | 1655e3a3dc16e21b60d9950e201b38a9894f1bcf [diff] |
KVM: VMX: move CR3/PDPTR update to vmx_set_cr3 GUEST_CR3 is updated via kvm_set_cr3 whenever CR3 is modified from outside guest context. Similarly pdptrs are updated via load_pdptrs. Let kvm_set_cr3 perform the update, removing it from the vcpu_run fast path. Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com> Acked-by: Acked-by: Sheng Yang <sheng@linux.intel.com> Signed-off-by: Avi Kivity <avi@redhat.com>