summaryrefslogtreecommitdiff
path: root/lib/debugobjects.c
diff options
context:
space:
mode:
authorSean Christopherson <sean.j.christopherson@intel.com>2019-05-07 08:36:25 -0700
committerPaolo Bonzini <pbonzini@redhat.com>2019-06-18 11:46:05 +0200
commit1c6f0b47fb59d1674a6ba91b0ce58dfbfc5a76de (patch)
tree8b49f1048d142dacb2f57327ec1a2dbf605b44ad /lib/debugobjects.c
parentb643780562af5378ef7fe731c65b8f93e49c59c6 (diff)
KVM: nVMX: Track vmcs12 offsets for shadowed VMCS fields
The vmcs12 fields offsets are constant and known at compile time. Store the associated offset for each shadowed field to avoid the costly lookup in vmcs_field_to_offset() when copying between vmcs12 and the shadow VMCS. Avoiding the costly lookup reduces the latency of copying by ~100 cycles in each direction. Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions