aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorSean Christopherson <sean.j.christopherson@intel.com>2019-01-25 07:41:09 -0800
committerPaolo Bonzini <pbonzini@redhat.com>2019-02-20 22:47:38 +0100
commit95c7b77d6e40a407ca5bd21d7ba2e1c28ad8e85a (patch)
treee983a3defbed2603a8f3a95f7200520cb532ce97 /tools/perf/scripts/python
parentKVM: VMX: Use vcpu->arch.regs directly when saving/loading guest state (diff)
downloadlinux-95c7b77d6e40a407ca5bd21d7ba2e1c28ad8e85a.tar.gz
linux-95c7b77d6e40a407ca5bd21d7ba2e1c28ad8e85a.zip
KVM: x86: Explicitly #define the VCPU_REGS_* indices
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>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions