aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorPaolo Bonzini <[email protected]>2019-06-07 19:00:14 +0200
committerPaolo Bonzini <[email protected]>2019-06-18 11:46:54 +0200
commitb464f57e133d8c751ca1fb4af039c808b873876b (patch)
treebabb57c028767448b10d0ff7c9cdf1af67066e7b /tools/perf/scripts/python/bin
parent4d6c989284ca61176f60148ba3f3c70650ee1aff (diff)
KVM: VMX: simplify vmx_prepare_switch_to_{guest,host}
vmx->loaded_cpu_state can only be NULL or equal to vmx->loaded_vmcs, so change it to a bool. Because the direction of the bool is now the opposite of vmx->guest_msrs_dirty, change the direction of vmx->guest_msrs_dirty so that they match. Finally, do not imply that MSRs have to be reloaded when vmx->guest_state_loaded is false; instead, set vmx->guest_msrs_ready to false explicitly in vmx_prepare_switch_to_host. Cc: Sean Christopherson <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions