Re: [PATCH v2 1/2] KVM: nVMX: Fix virtual interrupt delivery injection

From: Wanpeng Li
Date: Thu Jul 17 2014 - 07:49:16 EST


On Thu, Jul 17, 2014 at 01:31:06PM +0200, Paolo Bonzini wrote:
>Il 17/07/2014 13:03, Wanpeng Li ha scritto:
>>+ /*
>>+ * Fall back to old way to inject the interrupt since there
>>+ * is no vAPIC-v for L2.
>>+ */
>>+ if (vcpu->arch.exception.pending ||
>>+ vcpu->arch.nmi_injected ||
>>+ vcpu->arch.interrupt.pending)
>>+ return;
>
>This is just
>
> if (kvm_event_needs_reinjection(vcpu))
> return;
>
>but apart from this the patch is okay. I'll make the change and
>apply it, thanks.
>

Thanks.

Regards,
Wanpeng Li

>Paolo
--
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/