From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35840) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c9Vim-0003QT-As for qemu-devel@nongnu.org; Wed, 23 Nov 2016 06:28:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c9Vii-0004ay-7O for qemu-devel@nongnu.org; Wed, 23 Nov 2016 06:28:12 -0500 Received: from mail-wm0-x22c.google.com ([2a00:1450:400c:c09::22c]:37993) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1c9Vii-0004aB-1F for qemu-devel@nongnu.org; Wed, 23 Nov 2016 06:28:08 -0500 Received: by mail-wm0-x22c.google.com with SMTP id f82so19386903wmf.1 for ; Wed, 23 Nov 2016 03:28:07 -0800 (PST) References: <58354B12.1050909@ispras.ru> From: Alex =?utf-8?Q?Benn=C3=A9e?= In-reply-to: <58354B12.1050909@ispras.ru> Date: Wed, 23 Nov 2016 11:28:05 +0000 Message-ID: <87polmo2pm.fsf@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Subject: Re: [Qemu-devel] log every write to Aarch64 regs List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Sergey Smolov Cc: QEMU Developers Sergey Smolov writes: > Hello, List! > > I have a subset of Aarch64 registers and I need to print something to > QEMU log every time the emulator writes new data to them. Sorry I forgot to ask what the subset was? System registers are generally easier as they tend to end up in helpers. Also this is slightly different for KVM and TCG based guests. > > Is this problem fully or partially solvable in QEMU? > > What QEMU components should I look inside to implement this? > > Thanks in advance! -- Alex Bennée