summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/kvm_vcpu_regs.h
Commit message (Collapse)AuthorAgeFilesLines
* KVM: x86: Explicitly #define the VCPU_REGS_* indicesSean Christopherson2019-02-201-0/+25
Declaring the VCPU_REGS_* as enums allows for more robust C code, but it prevents using the values in assembly files. Expliciting #define the indices in an asm-friendly file to prepare for VMX moving its transition code to a proper assembly file, but keep the enums for general usage. Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>