Skip to content
Commit 8f5d549f authored by Avi Kivity's avatar Avi Kivity
Browse files

KVM: VMX: Simplify pdptr and cr3 management



Instead of reading the PDPTRs from memory after every exit (which is slow
and wrong, as the PDPTRs are stored on the cpu), sync the PDPTRs from
memory to the VMCS before entry, and from the VMCS to memory after exit.
Do the same for cr3.

Signed-off-by: default avatarAvi Kivity <avi@redhat.com>
parent 2d84e993
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment