]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: Replace read accesses of vcpu->arch.cr0 by an accessor
authorAvi Kivity <avi@redhat.com>
Tue, 29 Dec 2009 16:07:30 +0000 (18:07 +0200)
committerMarcelo Tosatti <mtosatti@redhat.com>
Mon, 1 Mar 2010 15:35:50 +0000 (12:35 -0300)
commit9ad7b355754821e409ee6ad4d28ff0e27f35c53b
tree2ed5d1edff6a5253561fff0593e89d1c49518b1b
parenta71ae66a579c58c475ec892f2bab7dbbf9b8b64e
KVM: Replace read accesses of vcpu->arch.cr0 by an accessor

Since we'd like to allow the guest to own a few bits of cr0 at times, we need
to know when we access those bits.

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