qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] setjmp and longjmp in qemu


From: Xin Tong
Subject: [Qemu-devel] setjmp and longjmp in qemu
Date: Sun, 22 Apr 2012 20:06:12 -0400

QEMU uses this very hard to understand setjmp and longjmp to handle
asynchronous interrupt. what i do not understand is that say one of
the process is doing a context switching in the guest os. tlb_flush
gets called, what if in the middle of tlb_flush, an interrupt comes in
( longjmp executed ).  does not qemu need to rolled back and
re-execute the context switch instruction ?

Thanks

Xin



reply via email to

[Prev in Thread] Current Thread [Next in Thread]