summaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/mmu.c
diff options
context:
space:
mode:
authorAvi Kivity2010-01-21 14:31:50 +0100
committerMarcelo Tosatti2010-03-01 16:36:04 +0100
commitf6801dff23bd1902473902194667f4ac1eb6ea26 (patch)
treef0c147b1e5ec8fc67e87e93df08235814f6587cb /arch/x86/kvm/mmu.c
parentKVM: Move cr0/cr4/efer related helpers to x86.h (diff)
downloadkernel-qcow2-linux-f6801dff23bd1902473902194667f4ac1eb6ea26.tar.gz
kernel-qcow2-linux-f6801dff23bd1902473902194667f4ac1eb6ea26.tar.xz
kernel-qcow2-linux-f6801dff23bd1902473902194667f4ac1eb6ea26.zip
KVM: Rename vcpu->shadow_efer to efer
None of the other registers have the shadow_ prefix. Signed-off-by: Avi Kivity <avi@redhat.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'arch/x86/kvm/mmu.c')
-rw-r--r--arch/x86/kvm/mmu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kvm/mmu.c b/arch/x86/kvm/mmu.c
index 6f7158f4fbfd..599c422c390f 100644
--- a/arch/x86/kvm/mmu.c
+++ b/arch/x86/kvm/mmu.c
@@ -237,7 +237,7 @@ static int is_cpuid_PSE36(void)
static int is_nx(struct kvm_vcpu *vcpu)
{
- return vcpu->arch.shadow_efer & EFER_NX;
+ return vcpu->arch.efer & EFER_NX;
}
static int is_shadow_present_pte(u64 pte)