Re: [v4 15/16] KVM: Update Posted-Interrupts Descriptor when vCPU is blocked

From: Paolo Bonzini
Date: Tue Jun 23 2015 - 12:05:53 EST




On 11/06/2015 12:51, Feng Wu wrote:
> - vcpu->arch.mp_state = KVM_MP_STATE_HALTED;
> + /* Handle posted-interrupt when vCPU is to be halted */
> + if (!kvm_x86_ops->pi_pre_block ||
> + (kvm_x86_ops->pi_pre_block &&

This condition is unnecessary.

Paolo

> + kvm_x86_ops->pi_pre_block(vcpu) == 0))
> + vcpu->arch.mp_state = KVM_MP_STATE_HALTED;
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/