diff options
| author | Zeng Guang <[email protected]> | 2022-04-19 23:36:04 +0800 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2022-06-08 04:47:26 -0400 |
| commit | f08a06c9a35706349f74b7a18deefe3f89f73e8e (patch) | |
| tree | 2fc9fc939a57ec7fbd1e8d3d6c0cdc53fd63e213 /tools/perf/scripts/python/bin | |
| parent | 5413bcba7ed57206178d60ee03dd5bb3a460e645 (diff) | |
KVM: VMX: Clean up vmx_refresh_apicv_exec_ctrl()
Remove the condition check cpu_has_secondary_exec_ctrls(). Calling
vmx_refresh_apicv_exec_ctrl() premises secondary controls activated
and VMCS fields related to APICv valid as well. If it's invoked in
wrong circumstance at the worst case, VMX operation will report
VMfailValid error without further harmful impact and just functions
as if all the secondary controls were 0.
Suggested-by: Sean Christopherson <[email protected]>
Signed-off-by: Zeng Guang <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions