OSDN Git Service

x86/kvm: Rename VMX's segment access rights defines
authorAndy Lutomirski <luto@kernel.org>
Thu, 13 Aug 2015 20:18:48 +0000 (13:18 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 14 Aug 2015 22:47:13 +0000 (00:47 +0200)
commit4d283ec908e617fa28bcb06bce310206f0655d67
treed5ebe140e65d988e137ddc065e2704e06a44ac21
parentae6c0aa6ae4d18d0ae74a58af5c521ec771e3730
x86/kvm: Rename VMX's segment access rights defines

VMX encodes access rights differently from LAR, and the latter is
most likely what x86 people think of when they think of "access
rights".

Rename them to avoid confusion.

Cc: kvm@vger.kernel.org
Signed-off-by: Andy Lutomirski <luto@kernel.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/include/asm/vmx.h
arch/x86/kvm/vmx.c