From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56428) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZtcO9-0006rs-8g for qemu-devel@nongnu.org; Tue, 03 Nov 2015 09:16:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZtcO5-0000Gh-58 for qemu-devel@nongnu.org; Tue, 03 Nov 2015 09:16:41 -0500 Received: from smtp.ispras.ru ([83.149.199.79]:44840) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZtcO4-0000GT-Tu for qemu-devel@nongnu.org; Tue, 03 Nov 2015 09:16:37 -0500 Received: from [10.10.2.131] (unknown [83.149.199.91]) by smtp.ispras.ru (Postfix) with ESMTP id 93520204FF for ; Tue, 3 Nov 2015 17:16:35 +0300 (MSK) From: Sergey Smolov Message-ID: <5638B3E4.8020906@ispras.ru> Date: Tue, 3 Nov 2015 17:17:24 +0400 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] log every write to register List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: QEMU Developers Hello, List! I have a collection of ARMv8 register names. I need to add special logging mode to QEMU so that every time it is enabled, every write access to any of the specified registers will produce a new record to log, including register name and a value to be written. Is it possible to accomplish such a task? If yes, where shall I find functions that implement "writing to register" functionality? Thanks in advance! Sincerely yours, Sergey Smolov