[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <558983CE.5020508@redhat.com>
Date: Tue, 23 Jun 2015 18:05:34 +0200
From: Paolo Bonzini <pbonzini@...hat.com>
To: Feng Wu <feng.wu@...el.com>, kvm@...r.kernel.org,
linux-kernel@...r.kernel.org
CC: mtosatti@...hat.com, alex.williamson@...hat.com,
eric.auger@...aro.org
Subject: Re: [v4 15/16] KVM: Update Posted-Interrupts Descriptor when vCPU
is blocked
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists