qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] interrupt handling in qemu
@ 2011-12-27 23:12 Xin Tong
  2011-12-27 23:36 ` Peter Maydell
  2011-12-28 10:42 ` Avi Kivity
  0 siblings, 2 replies; 13+ messages in thread
From: Xin Tong @ 2011-12-27 23:12 UTC (permalink / raw)
  To: qemu-devel

QEMU does not exit and handle interrupt within translation blocks. it
only exits after the translation block is finished. Assuming a
translation block is very long, is it possible that QEMU could have
exceeded the interrupt's "timing window" and yields unexpected
behavior.

The reason I ask is that I am searching for alternatives to QEMU
current way of handling interrupt (unlink translation blocks on
interrupt). However, an obvious approach - checking for interrupt in
every basic block,  seems to be too heavy ( too many tb enters/exits
). Maybe checking interrupt in a few basic blocks might be better, but
what is a good measure for the number of basic blocks to execute
before checking for interrupt ?

Thanks

Xin

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2011-12-29  1:31 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-27 23:12 [Qemu-devel] interrupt handling in qemu Xin Tong
2011-12-27 23:36 ` Peter Maydell
2011-12-28  0:43   ` Xin Tong
2011-12-28  1:10     ` Peter Maydell
2011-12-28  1:23       ` Xin Tong
2011-12-28 21:10     ` Peter Maydell
2011-12-29  0:48       ` Xin Tong
2011-12-29  1:31         ` Peter Maydell
2011-12-28 10:42 ` Avi Kivity
2011-12-28 11:40   ` Peter Maydell
2011-12-28 12:04     ` Avi Kivity
2011-12-28 17:00       ` Xin Tong
2011-12-28 19:07         ` Lluís Vilanova

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).