]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: Replace reads of vcpu->arch.cr3 by an accessor
authorAvi Kivity <avi@redhat.com>
Sun, 5 Dec 2010 15:30:00 +0000 (17:30 +0200)
committerAvi Kivity <avi@redhat.com>
Wed, 12 Jan 2011 09:31:15 +0000 (11:31 +0200)
commit6b29ea118f8469af2ea3424b4f09cd300c9ceb31
treee81d03d82d78903bde7c390461d46c8f937cb931
parentf4535cb4ef5f58fa6b2513d49657a078607a7598
KVM: Replace reads of vcpu->arch.cr3 by an accessor

This allows us to keep cr3 in the VMCS, later on.

Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/kvm_cache_regs.h
arch/x86/kvm/mmu.c
arch/x86/kvm/svm.c
arch/x86/kvm/vmx.c
arch/x86/kvm/x86.c