From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:41925) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qy1HX-0005tq-Cz for qemu-devel@nongnu.org; Mon, 29 Aug 2011 08:49:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qy1HW-0008C1-L1 for qemu-devel@nongnu.org; Mon, 29 Aug 2011 08:49:39 -0400 Received: from mx1.redhat.com ([209.132.183.28]:47637) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qy1HW-0008Bj-EA for qemu-devel@nongnu.org; Mon, 29 Aug 2011 08:49:38 -0400 Message-ID: <4E5B8ADC.5010402@redhat.com> Date: Mon, 29 Aug 2011 15:49:32 +0300 From: Avi Kivity MIME-Version: 1.0 References: <4E57B08E.2090304@siemens.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] Physical address debugging List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Blue Swirl Cc: Jan Kiszka , qemu-devel@nongnu.org, =?UTF-8?B?WmV1cyBHw7NtZXogTWFybW9sZWpv?= On 08/26/2011 08:34 PM, Blue Swirl wrote: > > Indeed, it isn't. It's impossible with KVM (due to lacking hardware > > support) but would be feasible with TCG if you extend (or ad-hoc hack) > > QEMU code accordingly. > > Why impossible? The existing watchpoints replace original physical > memory with io_mem_watch MMIO, virtual addresses are translated to > physical in exec.c:tlb_set_page(). The only missing piece is to allow > setting watchpoints with physical addresses directly. > > Since KVM can handle MMIO, I think it should also be able to handle > watchpoints. > Not on RAM areas. -- error compiling committee.c: too many arguments to function