diff options
author | Avi Kivity <avi@redhat.com> | 2010-12-05 17:56:11 +0100 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2011-01-12 10:31:16 +0100 |
commit | aff48baa34c033318ad322ecbf2e4bcd891b29ca (patch) | |
tree | 84955c55c812dd540cd0c54e5bdf6d3f5bfd08be /block | |
parent | KVM: Replace reads of vcpu->arch.cr3 by an accessor (diff) | |
download | linux-aff48baa34c033318ad322ecbf2e4bcd891b29ca.tar.xz linux-aff48baa34c033318ad322ecbf2e4bcd891b29ca.zip |
KVM: Fetch guest cr3 from hardware on demand
Instead of syncing the guest cr3 every exit, which is expensince on vmx
with ept enabled, sync it only on demand.
[sheng: fix incorrect cr3 seen by Windows XP]
Signed-off-by: Sheng Yang <sheng@linux.intel.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions