From: Marcelo Tosatti Date: Mon, 26 Oct 2009 18:48:33 +0000 (-0200) Subject: KVM: VMX: move CR3/PDPTR update to vmx_set_cr3 X-Git-Tag: v2.6.33-rc1~387^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7c93be44a4790b0fd9dddf29c5503cf86c105304;p=pandora-kernel.git 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 Acked-by: Acked-by: Sheng Yang Signed-off-by: Avi Kivity --- Reading git-diff-tree failed