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

Zhichao Huang
2015-04-21T14:34:46Z

[-- Attachment #1.1: Type: text/plain, Size: 389 bytes --]

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 relevant
informations to context switch the dbg register while neccessary.

[-- Attachment #1.2: Type: text/html, Size: 539 bytes --]

[-- Attachment #2: Type: text/plain, Size: 151 bytes --]

_______________________________________________
kvmarm mailing list
kvmarm@lists.cs.columbia.edu