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

2015-04-21 Thread Alex Bennée
Peter Maydell peter.mayd...@linaro.org writes: On 31 March 2015 at 16:40, Alex Bennée alex.ben...@linaro.org 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

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

2015-04-21 Thread Peter Maydell
On 21 April 2015 at 13:56, Alex Bennée alex.ben...@linaro.org wrote: Peter Maydell peter.mayd...@linaro.org writes: switch (hsr_ec) { +case HSR_EC_SOFT_STEP: +if (cs-singlestep_enabled) { +return true; +} else { +error_report(Came out of

Re: [PATCH v2 06/10] KVM: arm64: guest debug, add SW break point support

2015-04-21 Thread Zhichao Huang
On Tue, Mar 31, 2015 at 04:08:04PM +0100, Alex Bennée wrote: This adds support for SW breakpoints inserted by userspace. We do this by trapping all BKPT exceptions in the hypervisor (MDCR_EL2_TDE). why should we trap all debug exceptions? The trap for cp14 register r/w seems enough to record

Re: [PATCH v12 4/9] hw/vfio/platform: add capability to start IRQ propagation

2015-04-21 Thread Eric Auger
Hi Alex, On 04/17/2015 09:41 PM, Alex Williamson wrote: On Fri, 2015-04-17 at 17:31 +0200, Eric Auger wrote: Hi Alex, On 04/17/2015 12:04 AM, Alex Williamson wrote: On Thu, 2015-03-19 at 17:16 +, Eric Auger wrote: Add a reset notify function that enables to start the propagation of