]> git.proxmox.com Git - qemu.git/commit - vl.c
kvm: consume internal signal with sigtimedwait
authorMarcelo Tosatti <mtosatti@redhat.com>
Wed, 17 Feb 2010 22:14:42 +0000 (20:14 -0200)
committerAvi Kivity <avi@redhat.com>
Mon, 22 Feb 2010 08:58:33 +0000 (10:58 +0200)
commitcc84de9570ffe01a9c3c169bd62ab9586a9a080c
treeea13b44d105ea50dd1f85ccade0f851481a905e6
parentfed6c3444c714e88eb84dae58fcde0182865db8f
kvm: consume internal signal with sigtimedwait

Change the way the internal qemu signal, used for communication between
iothread and vcpus, is handled.

Block and consume it with sigtimedwait on the outer vcpu loop, which
allows more precise timing control.

Change from standard signal (SIGUSR1) to real-time one, so multiple
signals are not collapsed.

Set the signal number on KVM's in-kernel allowed sigmask.

Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
kvm-all.c
kvm.h
vl.c