qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [Question] How KQEMU works together with QEMU
@ 2009-12-08  2:56 win
  0 siblings, 0 replies; only message in thread
From: win @ 2009-12-08  2:56 UTC (permalink / raw)
  To: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 890 bytes --]

Hi, everybody,
    I am a newbie to QEMU and have been reading the QEMU code for nearly one
month. I got a picture of how QEMU works, but still cannot figure out how
KQEMU works together with QEMU. Could you give me some clues to the
following questions?

    1) The interrupts in QEMU are driven by the SIGALRM and SIGIO signal, in
whose signal handlers the cpu chain is reset and then the interrupts could
be checked in the main loop. However, when executing code directly on the
hardware using KQEMU, how to stop the code execution and check the
interrupts?

    2) As far as I know, KQEMU would change the IDT to hook some its own
interrupt handlers. But in detail, what interrupt handlers are hooked? Is
the timer interrupt handler included? How to restore the host's handler back
to the IDT when KQEMU needs to be switched out?

   Thanks!  I appreciate for your help.

cheers,
peter

[-- Attachment #2: Type: text/html, Size: 943 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-12-08  2:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-08  2:56 [Qemu-devel] [Question] How KQEMU works together with QEMU win

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