From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44705) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bq2zC-0000Sa-35 for qemu-devel@nongnu.org; Fri, 30 Sep 2016 14:56:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bq2z8-0005Zc-0i for qemu-devel@nongnu.org; Fri, 30 Sep 2016 14:56:42 -0400 Received: from mail-pf0-x242.google.com ([2607:f8b0:400e:c00::242]:36679) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bq2z7-0005ZP-Q2 for qemu-devel@nongnu.org; Fri, 30 Sep 2016 14:56:37 -0400 Received: by mail-pf0-x242.google.com with SMTP id n24so5286319pfb.3 for ; Fri, 30 Sep 2016 11:56:37 -0700 (PDT) Sender: Richard Henderson References: <874m50yxbk.fsf@fimbulvetr.bsc.es> <3cf0876d-6163-254d-68dd-601a713baccf@twiddle.net> <87r381ju8h.fsf@fimbulvetr.bsc.es> From: Richard Henderson Message-ID: Date: Fri, 30 Sep 2016 11:56:34 -0700 MIME-Version: 1.0 In-Reply-To: <87r381ju8h.fsf@fimbulvetr.bsc.es> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: [Qemu-devel] [RFC] Tracing guest register usage List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org, Paolo Bonzini , Peter Crosthwaite , Stefan Hajnoczi On 09/30/2016 08:13 AM, LluĂ­s Vilanova wrote: >> (2) an internal state change >> to DisasContext, reflected in INDEX_op_insn_start, with no changes to any TCG >> registers. So you'll not actually be tracking eflags at all. > > I don't follow what you mean. AFAIK INDEX_op_insn_start does not change the > guest eflags. It sets cc_op, which affects how eflags is computed. r~