Re: [PATCH] KVM: booke: use __kvm_guest_exit

From: Christian Borntraeger
Date: Thu Apr 30 2015 - 11:51:31 EST


Am 30.04.2015 um 14:40 schrieb Paolo Bonzini:
> Signed-off-by: Paolo Bonzini <pbonzini@xxxxxxxxxx>

Reviewed-by: Christian Borntraeger <borntraeger@xxxxxxxxxx>

but no way to test it
> ---
> arch/powerpc/kvm/booke.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/arch/powerpc/kvm/booke.c b/arch/powerpc/kvm/booke.c
> index 6c1316a15a27..3872ab31c80a 100644
> --- a/arch/powerpc/kvm/booke.c
> +++ b/arch/powerpc/kvm/booke.c
> @@ -1004,10 +1004,10 @@ int kvmppc_handle_exit(struct kvm_run *run, struct kvm_vcpu *vcpu,
> break;
> }
>
> - local_irq_enable();
> -
> trace_kvm_exit(exit_nr, vcpu);
> - kvm_guest_exit();
> + __kvm_guest_exit();
> +
> + local_irq_enable();
>
> run->exit_reason = KVM_EXIT_UNKNOWN;
> run->ready_for_interrupt_injection = 1;
>


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