diff options
author | Chao Gao <chao.gao@intel.com> | 2024-11-11 16:59:46 +0800 |
---|---|---|
committer | Sean Christopherson <seanjc@google.com> | 2024-12-19 07:34:15 -0800 |
commit | ca0245d131b121f5408b0f67569ec14ee7fccec8 (patch) | |
tree | 17a428e3108e513760478895ed2f89da891db5c2 /rust/helpers/build_bug.c | |
parent | 3d91521e57df1f6903419502592910232af49dbb (diff) |
KVM: x86: Remove hwapic_irr_update() from kvm_x86_ops
Remove the redundant .hwapic_irr_update() ops.
If a vCPU has APICv enabled, KVM updates its RVI before VM-enter to L1
in vmx_sync_pir_to_irr(). This guarantees RVI is up-to-date and aligned
with the vIRR in the virtual APIC. So, no need to update RVI every time
the vIRR changes.
Note that KVM never updates vmcs02 RVI in .hwapic_irr_update() or
vmx_sync_pir_to_irr(). So, removing .hwapic_irr_update() has no
impact to the nested case.
Signed-off-by: Chao Gao <chao.gao@intel.com>
Link: https://lore.kernel.org/r/20241111085947.432645-1-chao.gao@intel.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'rust/helpers/build_bug.c')
0 files changed, 0 insertions, 0 deletions