qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Xin Tong <xerox.time.tech@gmail.com>
To: 陳韋任 <chenwj@iis.sinica.edu.tw>
Cc: Peter Maydell <peter.maydell@linaro.org>,
	qemu-devel <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] QEMU TB Unlinking due to interrupt.
Date: Tue, 13 Dec 2011 20:29:50 -0500	[thread overview]
Message-ID: <CALKntY194PFZcZJyJ_56KBnbZvMYs_hmeuLc3SavNWEZLeduzw@mail.gmail.com> (raw)
In-Reply-To: <20111213081057.GA70633@cs.nctu.edu.tw>

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, 陳韋任 <chenwj@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

  reply	other threads:[~2011-12-14  1:29 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-09 18:44 [Qemu-devel] QEMU TB Unlinking due to interrupt Xin Tong
2011-12-09 23:45 ` Peter Maydell
2011-12-10  0:08   ` Xin Tong
2011-12-13  8:10     ` 陳韋任
2011-12-14  1:29       ` Xin Tong [this message]
2011-12-14 14:29         ` 陳韋任
2012-01-20  7:41     ` 陳韋任

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CALKntY194PFZcZJyJ_56KBnbZvMYs_hmeuLc3SavNWEZLeduzw@mail.gmail.com \
    --to=xerox.time.tech@gmail.com \
    --cc=chenwj@iis.sinica.edu.tw \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).