aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib
diff options
context:
space:
mode:
authorSean Christopherson <sean.j.christopherson@intel.com>2018-07-23 12:32:48 -0700
committerPaolo Bonzini <pbonzini@redhat.com>2018-08-06 17:59:16 +0200
commitf3bbc0dcedf50d29d2d6fdfb16c5ec3e2368837f (patch)
tree2d2d58a649b9db40b605e2c1a72015611f21127e /tools/perf/scripts/python/Perf-Trace-Util/lib
parentd7ee039e2bab6341cdabf42d3036063cf91b40ea (diff)
KVM: vmx: always initialize HOST_{FS,GS}_BASE to zero during setup
The HOST_{FS,GS}_BASE fields are guaranteed to be written prior to VMENTER, by way of vmx_prepare_switch_to_guest(). Initialize the fields to zero for 64-bit kernels instead of pulling the base values from their respective MSRs. In addition to eliminating two RDMSRs, vmx_prepare_switch_to_guest() can safely assume the initial value of the fields is zero in all cases. 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/Perf-Trace-Util/lib')
0 files changed, 0 insertions, 0 deletions