Re: [PATCH v2 4/4] target-arm: kvm - add support for HW assisted debug

2015-04-20 Thread Peter Maydell
On 31 March 2015 at 16:40, Alex Bennée wrote: > From: Alex Bennée > > This adds basic support for HW assisted debug. The ioctl interface to > KVM allows us to pass an implementation defined number of break and > watch point registers. When KVM_GUESTDBG_USE_HW_BP is specified these > debug registe

Re: [PATCH v2 3/4] target-arm: kvm - support for single step

2015-04-20 Thread Peter Maydell
On 31 March 2015 at 16:40, Alex Bennée wrote: > This adds support for single-step. There isn't much to do on the QEMU > side as after we set-up the request for single step via the debug ioctl > it is all handled within the kernel. > > Signed-off-by: Alex Bennée > > --- > v2 > - convert to using

Re: [PATCH v2 2/4] target-arm: kvm - implement software breakpoints

2015-04-20 Thread Peter Maydell
On 31 March 2015 at 16:40, Alex Bennée wrote: > These don't involve messing around with debug registers, just setting > the breakpoint instruction in memory. GDB will not use this mechanism if > it can't access the memory to write the breakpoint. > > All the kernel has to do is ensure the hypervis

Re: [RFC PATCH 1/3] KVM: promote KVM_MEMSLOT_INCOHERENT to uapi

2015-04-20 Thread Christoffer Dall
On Wed, Mar 18, 2015 at 03:10:31PM -0400, Andrew Jones wrote: > Also rename to KVM_MEM_UNCACHED. > > Signed-off-by: Andrew Jones > --- > Documentation/virtual/kvm/api.txt | 16 ++-- > arch/arm/include/uapi/asm/kvm.h | 1 + > arch/arm/kvm/arm.c| 1 + > arch/arm/kvm

Re: [PATCH v2 0/4] QEMU support for KVM Guest Debug on arm64

2015-04-20 Thread Alex Bennée
Alex Bennée writes: > Hi, > > I thought I'd sent V1 to the list but apparently not. Anyway this > patch series provides the QEMU side of guest debug support for arm64. > I'm assuming the first patch will be dropped when a proper merge of > the linux-headers is done once the kernel side is upstre