Hi, all
I’m trying to figure out how do_savevm
works in QEMU. But there is one thing has bothered me quite a lot. I found that
vm_stop invoke qemu_cpu_kick_thread to send SIG_IPI to a vcpu thread, and I
have understand that in TCG mode, the cpu_signal() function will be invoked as
the SIG_IPI handler. But I don’t know what happens in KVM mode. Actually I can’t
find the signal handler function. I only find a function named dummy_signal, and it doesn't do anything.
Thanks a lot!
--
----- Shiru RenDepartment of Computer ScienceSchool of EECSPeking University
Beijing, China