commit | 8f5d549f028056d6ad6044f2d9e27ecf361d955e | [log] [tgz] |
---|---|---|
author | Avi Kivity <avi@redhat.com> | Sun May 31 18:41:29 2009 +0300 |
committer | Avi Kivity <avi@redhat.com> | Thu Sep 10 08:32:46 2009 +0300 |
tree | 86575599cd4427a6d22e051c021f2529a36e2bf7 | |
parent | 2d84e993a8947dbeb6b416555940d97522330846 [diff] |
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: Avi Kivity <avi@redhat.com>