[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v5 0/6] QEMU support for KVM Guest Debug on arm6
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] [PATCH v5 0/6] QEMU support for KVM Guest Debug on arm64 |
Date: |
Thu, 4 Jun 2015 12:35:31 +0100 |
On 29 May 2015 at 16:19, Alex Bennée <address@hidden> wrote:
> You may be wondering what happened to v3 and v4. They do exist but
> they didn't change much from the the original patches as I've been
> mostly looking the kernel side of the equation. So in summary the
> changes are:
>
> - updates to the kernel ABI
> - don't fall over on kernels without debug support
> - better logging, syncing and use of internals.h
> - debug exception re-injection for guest events*
Some generic remarks (which we've talked about in irc):
* does this correctly handle single step over emulated MMIO insns?
how about single step over insns emulated in the kernel
without trapping out to userspace? (eg some of the sysregs)
kvm_skip_instr() doesn't seem to update PSTATE.SS...
* the kernel currently does kvm_skip_instr() before the
emulated MMIO exit, not afterwards. That feels conceptually
the wrong way round -- are there any interesting corner cases
we would get wrong currently but that naturally fall out in
the wash if it's done afterwards?
* what about debugging a 32-bit guest which uses the 32-bit
ARM/Thumb bkpt insns?
thanks
-- PMM
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Qemu-devel] [PATCH v5 0/6] QEMU support for KVM Guest Debug on arm64,
Peter Maydell <=