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, 陳韋任 <che...@iis.sinica.edu.tw> 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 (陳韋任) > 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