On 2014-04-17 07:46, Shiru Ren wrote:
> 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.

This signal is handled synchronously in KVM mode, see
qemu_kvm_eat_signals in cpus.c.

Jan


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to