]> git.proxmox.com Git - qemu.git/commit - cpus.c
kvm: Refactor qemu_kvm_eat_signals
authorJan Kiszka <jan.kiszka@siemens.com>
Tue, 1 Feb 2011 21:15:54 +0000 (22:15 +0100)
committerMarcelo Tosatti <mtosatti@redhat.com>
Mon, 14 Feb 2011 14:39:45 +0000 (12:39 -0200)
commit5db5bdacdfb115bb23d57808947f1ec1bcc00ef3
tree5ab7374755dc483013f4f5c4fdb9189ccdba1afc
parentff48eb5fe79ad9ce50127965bd42320c7cccc8a1
kvm: Refactor qemu_kvm_eat_signals

We do not use the timeout, so drop its logic. As we always poll our
signals, we do not need to drop the global lock. Removing those calls
allows some further simplifications. Also fix the error processing of
sigpending at this chance.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
cpus.c