From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:42231) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tg0DV-0004xw-FZ for qemu-devel@nongnu.org; Tue, 04 Dec 2012 16:39:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tg0DQ-00068X-MR for qemu-devel@nongnu.org; Tue, 04 Dec 2012 16:39:49 -0500 Sender: Richard Henderson Message-ID: <50BE6D98.4090808@twiddle.net> Date: Tue, 04 Dec 2012 15:39:36 -0600 From: Richard Henderson MIME-Version: 1.0 References: In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 4/4] exec: refactor cpu_restore_state List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: qemu-devel@nongnu.org, Alexander Graf , Blue Swirl , Max Filippov , Michael Walle , qemu-ppc@nongnu.org, Paul Brook , "Edgar E. Iglesias" , Guan Xuetao , Aurelien Jarno On 2012-12-04 15:25, Peter Maydell wrote: > So this is just a refactoring, but it prompts me to ask -- how does > this work if the PC that caused us to take this TLB fill is legitimately > zero? We seem to be overloading retaddr==0 as a "not a real cpu fault" > indicator... Since this is a host code address, usually inside code_gen_buffer, not a target code address, this isn't ever going to happen. r~