Re: [PATCH] kvm-pr: manage single-step mode

2016-04-08 Thread Laurent Vivier
On 08/04/2016 09:44, Thomas Huth wrote: > On 08.04.2016 08:58, Laurent Vivier wrote: >> >> >> On 08/04/2016 08:23, Thomas Huth wrote: >>> On 22.03.2016 15:53, Laurent Vivier wrote: Until now, when we connect gdb to the QEMU gdb-server, the single-step mode is not managed.

Re: [PATCH] kvm-pr: manage single-step mode

2016-04-08 Thread Laurent Vivier
On 08/04/2016 09:44, Thomas Huth wrote: > On 08.04.2016 08:58, Laurent Vivier wrote: >> >> >> On 08/04/2016 08:23, Thomas Huth wrote: >>> On 22.03.2016 15:53, Laurent Vivier wrote: Until now, when we connect gdb to the QEMU gdb-server, the single-step mode is not managed.

Re: [PATCH] kvm-pr: manage single-step mode

2016-04-08 Thread Thomas Huth
On 08.04.2016 08:58, Laurent Vivier wrote: > > > On 08/04/2016 08:23, Thomas Huth wrote: >> On 22.03.2016 15:53, 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

Re: [PATCH] kvm-pr: manage single-step mode

2016-04-08 Thread Thomas Huth
On 08.04.2016 08:58, Laurent Vivier wrote: > > > On 08/04/2016 08:23, Thomas Huth wrote: >> On 22.03.2016 15:53, 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

Re: [PATCH] kvm-pr: manage single-step mode

2016-04-08 Thread Laurent Vivier
On 08/04/2016 08:23, Thomas Huth wrote: > On 22.03.2016 15:53, 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

Re: [PATCH] kvm-pr: manage single-step mode

2016-04-08 Thread Laurent Vivier
On 08/04/2016 08:23, Thomas Huth wrote: > On 22.03.2016 15:53, 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

Re: [PATCH] kvm-pr: manage single-step mode

2016-04-08 Thread Thomas Huth
On 22.03.2016 15:53, 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

Re: [PATCH] kvm-pr: manage single-step mode

2016-04-08 Thread Thomas Huth
On 22.03.2016 15:53, 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

Re: [PATCH] kvm-pr: manage single-step mode

2016-04-07 Thread Laurent Vivier
Ping? On 22/03/2016 15:53, 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

Re: [PATCH] kvm-pr: manage single-step mode

2016-04-07 Thread Laurent Vivier
Ping? On 22/03/2016 15:53, 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

[PATCH] kvm-pr: manage single-step mode

2016-03-22 Thread Laurent Vivier
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

[PATCH] kvm-pr: manage single-step mode

2016-03-22 Thread Laurent Vivier
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