vmx_sync_pir_to_irr has 'if (KVM_BUG_ON(!vcpu->arch.apicv_active,
vcpu->kvm))' That has to be removed I think for this to work.
Plus the above calls now can happen when APICv is fully disabled (and
not just inhibited), which is also something that I think that
vmx_sync_pir_to_irr should be fixed to be aware of.
Also note that VMX has code that sets vmx_x86_ops.sync_pir_to_irr to
NULL in its 'hardware_setup' if APICv is disabled. I wonder if that
done befor or after the static_call_cond sites are updated.
I think that this code should be removed as well, and
vmx_sync_pir_to_irr should just do nothing when APICv is fully
disabled.