lkml.org 
[lkml]   [2014]   [Jul]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2 1/2] KVM: nVMX: Fix virtual interrupt delivery injection
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.

Paolo


\
 
 \ /
  Last update: 2014-07-17 15:41    [W:0.330 / U:0.580 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site