qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] About SIG_IPI handler


From: Jan Kiszka
Subject: Re: [Qemu-devel] About SIG_IPI handler
Date: Thu, 17 Apr 2014 07:51:44 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); de; rv:1.8.1.12) Gecko/20080226 SUSE/2.0.0.12-1.1 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666

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

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