diff options
author | 2018-07-23 12:32:41 -0700 | |
---|---|---|
committer | 2018-08-06 17:59:10 +0200 | |
commit | e368b875a8a91125f1bd0ffac1100c305c0bdff4 (patch) | |
tree | b6fb9b1ffc78231e3c84716382b9415b93a8e823 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | kvm: nVMX: Fix fault priority for VMX operations (diff) | |
download | wireguard-linux-e368b875a8a91125f1bd0ffac1100c305c0bdff4.tar.xz wireguard-linux-e368b875a8a91125f1bd0ffac1100c305c0bdff4.zip |
KVM: vmx: refactor segmentation code in vmx_save_host_state()
Use local variables in vmx_save_host_state() to temporarily track
the selector and base values for FS and GS, and reorganize the
code so that the 64-bit vs 32-bit portions are contained within
a single #ifdef. This refactoring paves the way for future patches
to modify the updating of VMCS state with minimal changes to the
code, and (hopefully) simplifies resolving a likely conflict with
another in-flight patch[1] by being the whipping boy for future
patches.
[1] https://www.spinics.net/lists/kvm/msg171647.html
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/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions