diff options
author | Avi Kivity <avi@redhat.com> | 2009-05-31 19:41:29 +0400 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2009-09-10 09:32:46 +0400 |
commit | 8f5d549f028056d6ad6044f2d9e27ecf361d955e (patch) | |
tree | 86575599cd4427a6d22e051c021f2529a36e2bf7 /arch/x86/kvm/kvm_cache_regs.h | |
parent | 2d84e993a8947dbeb6b416555940d97522330846 (diff) | |
download | linux-8f5d549f028056d6ad6044f2d9e27ecf361d955e.tar.xz |
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>
Diffstat (limited to 'arch/x86/kvm/kvm_cache_regs.h')
0 files changed, 0 insertions, 0 deletions