kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/17] kvm-userspace: Fix and improve guest debugging and x86 debug registers
@ 2008-10-06  9:14 Jan Kiszka
  2008-10-06  9:14 ` [PATCH 01/17] kvm-userspace: Remove old guest debugging hooks Jan Kiszka
                   ` (18 more replies)
  0 siblings, 19 replies; 31+ messages in thread
From: Jan Kiszka @ 2008-10-06  9:14 UTC (permalink / raw)
  To: kvm

While still waiting on the required merge of the QEMU bits in this
series (sigh...), I want to provide an update of my guest debugging and
x86 debug register improvement patches. First comes the kvm-userspace
part, kernel bits follow in a separate series.

No new features since my last posting. But thanks to heavy internal use,
I was able to identify and fix several tricky corner case (/wrt VMX).
The changes are:
 - rebased on top of the QEMU base series
 - fixed single-stepping over STI and MOV SS/POP SS (VMX)
 - proper compat wrapping for set_debugreg
 - cleanup special_reload_dr7
 - proper injection of soft exceptions like #BP (VMX)

To summarize the contributions of this series (+ its related kernel
bits):
 - fully functional guest debugging via gdbstub,
   including hardware breakpoints and watchpoints
   (pick up current gdb cvs to have hbreak via remote gdb)
 - (Almost) unlimited number of standard breakpoints
 - SMP guest debugging support
 - x86 debug registers support (makes guest's gdb and kgdb happy)

The patches are in daily use for several moons here and have proven to
be very helpful for tricky kernel debugging task. Specifically,
reproducing and then tracking down certain races/deadlocks on SMP boxes
is far more comfortable with KVM than on "real metal".

Jan

--
Siemens AG, Corporate Technology, CT SE 2
Corporate Competence Center Embedded Linux


^ permalink raw reply	[flat|nested] 31+ messages in thread

end of thread, other threads:[~2008-11-18  9:09 UTC | newest]

Thread overview: 31+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-06  9:14 [PATCH 00/17] kvm-userspace: Fix and improve guest debugging and x86 debug registers Jan Kiszka
2008-10-06  9:14 ` [PATCH 01/17] kvm-userspace: Remove old guest debugging hooks Jan Kiszka
2008-10-06  9:14 ` [PATCH 02/17] qemu: Return appropriate watch message to gdb Jan Kiszka
2008-10-06  9:14 ` [PATCH 03/17] qemu: Refactor and enhance break/watchpoint API Jan Kiszka
2008-10-06  9:14 ` [PATCH 04/17] qemu: Set mem_io_vaddr on io_read Jan Kiszka
2008-10-06  9:14 ` [PATCH 05/17] qemu: Respect length of watchpoints Jan Kiszka
2008-10-07 12:04   ` Avi Kivity
2008-10-08 20:22     ` Jan Kiszka
2008-10-06  9:14 ` [PATCH 06/17] qemu: Introduce next_cflags Jan Kiszka
2008-10-07 12:07   ` Avi Kivity
2008-10-06  9:14 ` [PATCH 07/17] qemu: Switch self-modified code recompilation to next_cflags Jan Kiszka
2008-10-06  9:14 ` [PATCH 08/17] qemu: Restore pc on watchpoint hits - v3 Jan Kiszka
2008-10-06  9:14 ` [PATCH 09/17] qemu: Remove premature memop TB terminations Jan Kiszka
2008-10-06  9:14 ` [PATCH 10/17] qemu: Improve debugging of SMP guests Jan Kiszka
2008-10-07 12:12   ` Avi Kivity
2008-10-08 20:25     ` Jan Kiszka
2008-10-06  9:14 ` [PATCH 11/17] qemu: Introduce BP_WATCHPOINT_HIT flag Jan Kiszka
2008-10-06  9:14 ` [PATCH 12/17] qemu: Add debug exception hook Jan Kiszka
2008-10-06  9:14 ` [PATCH 13/17] qemu: Introduce BP_CPU as a breakpoint type Jan Kiszka
2008-10-06  9:14 ` [PATCH 14/17] qemu: x86: Debug register emulation Jan Kiszka
2008-10-07 12:15   ` Avi Kivity
2008-10-08 20:25     ` Jan Kiszka
2008-10-06  9:14 ` [PATCH 15/17] kvm-userspace: Switch to new guest debug interface Jan Kiszka
2008-10-06  9:14 ` [PATCH 16/17] kvm-userspace: Provide compat wrapper for set_debugreg Jan Kiszka
2008-10-07 12:17   ` Avi Kivity
2008-10-08 20:25     ` Jan Kiszka
2008-10-06  9:14 ` [PATCH 17/17] kvm-userspace: remove obsolete special_reload_dr7 hack Jan Kiszka
2008-10-07 12:18 ` [PATCH 00/17] kvm-userspace: Fix and improve guest debugging and x86 debug registers Avi Kivity
2008-10-07 12:20   ` Jan Kiszka
2008-11-17 22:44 ` Markus Armbruster
2008-11-18  9:08   ` Jan Kiszka

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).