Re: [PATCH v5 6/6] KVM: nVMX: Enable nested posted interrupt processing

From: Wincy Van
Date: Tue Feb 03 2015 - 09:19:14 EST


On Tue, Feb 3, 2015 at 10:02 PM, Paolo Bonzini <pbonzini@xxxxxxxxxx> wrote:
>
>
> On 03/02/2015 10:17, Wincy Van wrote:
>> +static int vmx_accomp_nested_posted_interrupt(struct kvm_vcpu *vcpu)
>
> Replace accomp with complete.

Will do.

>
>> +{
>> + struct vcpu_vmx *vmx = to_vmx(vcpu);
>> + int max_irr;
>> + void *vapic_page;
>> + u16 status;
>> +
>> + if (vmx->nested.posted_intr_nv != -1 &&
>
> Testing posted_intr_nv is not necessary.
>

Indeed.

>> + vmx->nested.pi_desc &&
>> + vmx->nested.accomp_pir) {
>
> Replace accomp_pir with pi_pending.
>

Will do.

> The patch has corrupted spaces and tabs like the others, too.
>

I'm sorry, may I resend them via qq.com with the same version(v5) and
make the changes above?


Thanks,
Wincy
--
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/