Il 28/04/2013 18:40, Jan Kiszka ha scritto:
> diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c
> index 8747fef..6974ca8 100644
> --- a/arch/x86/kvm/x86.c
> +++ b/arch/x86/kvm/x86.c
> @@ -5754,7 +5754,8 @@ static int vcpu_enter_guest(struct kvm_vcpu *vcpu)
>  
>               /* enable NMI/IRQ window open exits if needed */
>               if (vcpu->arch.nmi_pending)
> -                     kvm_x86_ops->enable_nmi_window(vcpu);
> +                     req_immediate_exit =
> +                             kvm_x86_ops->enable_nmi_window(vcpu);

!= 0 for consistency with below?

Paolo

>               else if (kvm_cpu_has_injectable_intr(vcpu) || req_int_win)
>                       req_immediate_exit =
>                               kvm_x86_ops->enable_irq_window(vcpu) != 0;
> -- 1.7.3.4

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to