From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:48595) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RadfO-0003Op-7O for qemu-devel@nongnu.org; Tue, 13 Dec 2011 20:29:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RadfM-00051j-5P for qemu-devel@nongnu.org; Tue, 13 Dec 2011 20:29:54 -0500 Received: from mail-iy0-f173.google.com ([209.85.210.173]:49163) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RadfM-00051e-1R for qemu-devel@nongnu.org; Tue, 13 Dec 2011 20:29:52 -0500 Received: by iagj37 with SMTP id j37so455609iag.4 for ; Tue, 13 Dec 2011 17:29:51 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <20111213081057.GA70633@cs.nctu.edu.tw> References: <20111213081057.GA70633@cs.nctu.edu.tw> Date: Tue, 13 Dec 2011 20:29:50 -0500 Message-ID: From: Xin Tong Content-Type: text/plain; charset=Big5 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] QEMU TB Unlinking due to interrupt. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?UTF-8?B?6Zmz6Z+L5Lu7?= Cc: Peter Maydell , qemu-devel QEMU performs a recursive unchaining on the current executing tb when a timer fires. This timer is set by setitimer in the qemu-timer.c. This is what I mean by "interrupt pending". Of course, there are interrupts from emulated devices as well, but i do not know how that is set up, i.e. how tcg_handle_interrupt is called when the devices finishes some work. I hope you can enlighten me on that. Thanks Xin On Tue, Dec 13, 2011 at 3:10 AM, =B3=AF=AD=B3=A5=F4 wrote: >> 1. some other tbs being invalidated. >> 2. interrrupt pending > > Could you point out "interrrupt pending" means where? I'd like to take a= look, > thanks. :) > > Regards, > chenwj > > -- > Wei-Ren Chen (=B3=AF=AD=B3=A5=F4) > Computer Systems Lab, Institute of Information Science, > Academia Sinica, Taiwan (R.O.C.) > Tel:886-2-2788-3799 #1667 > Homepage: http://people.cs.nctu.edu.tw/~chenwj