[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20160511113631.GA10249@fergus.ozlabs.ibm.com>
Date: Wed, 11 May 2016 21:36:31 +1000
From: Paul Mackerras <paulus@...abs.org>
To: Laurent Vivier <lvivier@...hat.com>
Cc: kvm-ppc@...r.kernel.org, kvm@...r.kernel.org,
Gleb Natapov <gleb@...nel.org>,
Paolo Bonzini <pbonzini@...hat.com>,
Alexander Graf <agraf@...e.com>,
Benjamin Herrenschmidt <benh@...nel.crashing.org>,
Michael Ellerman <mpe@...erman.id.au>,
linuxppc-dev@...ts.ozlabs.org, linux-kernel@...r.kernel.org,
dgibson@...hat.com, thuth@...hat.com
Subject: Re: [PATCH v2] kvm-pr: manage single-step mode
On Fri, Apr 08, 2016 at 06:05:00PM +0200, Laurent Vivier wrote:
> Until now, when we connect gdb to the QEMU gdb-server, the
> single-step mode is not managed.
>
> This patch adds this, only for kvm-pr:
>
> If KVM_GUESTDBG_SINGLESTEP is set, we enable single-step trace bit in the
> MSR (MSR_SE) just before the __kvmppc_vcpu_run(), and disable it just after.
> In kvmppc_handle_exit_pr, instead of routing the interrupt to
> the guest, we return to host, with KVM_EXIT_DEBUG reason.
>
> Signed-off-by: Laurent Vivier <lvivier@...hat.com>
Thanks, applied to my kvm-ppc-next branch.
Paul.
Powered by blists - more mailing lists