summaryrefslogtreecommitdiffstats
path: root/virt/kvm
diff options
context:
space:
mode:
authorZeng Guang <guang.zeng@intel.com>2022-04-19 17:36:04 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2022-06-08 10:47:26 +0200
commitf08a06c9a35706349f74b7a18deefe3f89f73e8e (patch)
tree2fc9fc939a57ec7fbd1e8d3d6c0cdc53fd63e213 /virt/kvm
parentKVM: x86: Add support for vICR APIC-write VM-Exits in x2APIC mode (diff)
downloadlinux-f08a06c9a35706349f74b7a18deefe3f89f73e8e.tar.xz
linux-f08a06c9a35706349f74b7a18deefe3f89f73e8e.zip
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 <seanjc@google.com> Signed-off-by: Zeng Guang <guang.zeng@intel.com> Message-Id: <20220419153604.11786-1-guang.zeng@intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'virt/kvm')
0 files changed, 0 insertions, 0 deletions