From: Jan Kiszka <jan.kiszka@web.de>
To: Jan Kiszka <jan.kiszka@web.de>
Subject: [PATCH 0/3] Rework guest debug interface
Date: Fri, 23 May 2008 03:50:46 +0200 [thread overview]
Message-ID: <483622F6.8020805@web.de> (raw)
[-- Attachment #1: Type: text/plain, Size: 1341 bytes --]
The existing guest debugging interface of kvm is limited in several ways:
- depends on hardware breakpoints, thus suffers from running out of
this scarce resource.
- assumes that there are only 4 hardware breakpoints (even if some
archs may once provide more)
- doesn't support watchpoint or additional arch-specific debugging
features
This patch series reworks the interface, providing usable software-based
breakpoint support, but also laying the ground for patches under
development that will add full hardware debugging features.
Content:
Patch 1 - Replace KVM_DEBUG_GUEST with KVM_SET_GUEST_DEBUG interface,
implement kernel side support
Patch 2 - Tiny helper that allows pause and resume for a single vcpu
Patch 3 - Userland changes that adopt KVM_SET_GUEST_DEBUG and switch to
software breakpoints
Depends on:
- "Fix monitor and gdbstub deadlocks v2" [1]
- "Proper vm_stop on debug events" [2]
It's late here and the series is still fresh, but everything seems to
works nicely - even using gdb inside the guest while the host has active
breakpoints on the guest as well.
Looking forward to feedback and review.
Jan
[1] http://permalink.gmane.org/gmane.comp.emulators.kvm.devel/17444
[2] http://permalink.gmane.org/gmane.comp.emulators.kvm.devel/17775
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 254 bytes --]
next reply other threads:[~2008-05-23 1:58 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-23 1:50 Jan Kiszka [this message]
2008-05-23 1:57 ` [PATCH 1/3] KVM: Rework guest debugging interface Jan Kiszka
2008-05-23 1:59 ` [PATCH 2/3] qemu-kvm: Introduce single vcpu pause/resume Jan Kiszka
2008-05-23 15:49 ` Jan Kiszka
2008-05-23 2:01 ` [PATCH 3/3] kvm-userspace: Switch to KVM_SET_GUEST_DEBUG Jan Kiszka
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=483622F6.8020805@web.de \
--to=jan.kiszka@web.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox