From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lh4gU-0002fg-BC for qemu-devel@nongnu.org; Tue, 10 Mar 2009 12:20:02 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lh4gS-0002fC-UQ for qemu-devel@nongnu.org; Tue, 10 Mar 2009 12:20:02 -0400 Received: from [199.232.76.173] (port=40980 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lh4gS-0002f9-Pv for qemu-devel@nongnu.org; Tue, 10 Mar 2009 12:20:00 -0400 Received: from mail-bw0-f171.google.com ([209.85.218.171]:49034) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Lh4gS-0008Pd-Fp for qemu-devel@nongnu.org; Tue, 10 Mar 2009 12:20:00 -0400 Received: by bwz19 with SMTP id 19so1509162bwz.34 for ; Tue, 10 Mar 2009 09:19:58 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <49B433EE.4080704@web.de> References: <49B433EE.4080704@web.de> Date: Tue, 10 Mar 2009 18:19:57 +0200 Message-ID: Subject: Re: [Qemu-devel] [PATCH v3 1/2] Guest debugging support for KVM From: Blue Swirl Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org On 3/8/09, Jan Kiszka wrote: > This is a backport of the guest debugging support for the KVM > accelerator that is now part of the KVM tree. It implements the reworked > KVM kernel API for guest debugging (KVM_CAP_SET_GUEST_DEBUG) which is > not yet part of any mainline kernel but will probably be 2.6.30 stuff. > So far supported is x86, but PPC is expected to catch up soon. > > Core features are: > - unlimited soft-breakpoints via code patching > - hardware-assisted x86 breakpoints and watchpoints The statically dimensioned arrays (hw_breakpoint[4], single hw_watchpoint) make me wonder what would happen in the SMP case. Or is only one CPU ever targeted at a time for debugging?