]> git.karo-electronics.de Git - karo-tx-linux.git/commit
kvm tools: Signal only one thread when injecting console interrupts
authorSasha Levin <levinsasha928@gmail.com>
Wed, 15 Jun 2011 21:33:06 +0000 (17:33 -0400)
committerPekka Enberg <penberg@kernel.org>
Thu, 16 Jun 2011 14:06:51 +0000 (17:06 +0300)
commitf6c26ccc19c270c2494c5d9dc67c1da351e475ca
tree62c209df7de7d8ec77ed242764621e2b7e0d441c
parent1a9a01959bd5f2425ddc5239d5625dfbb3f63aac
kvm tools: Signal only one thread when injecting console interrupts

Send signals only to the thread which handles console injection
instead of the entire process.

This prevents every single thread from having to ignore SIGALRM
and will help scaling when running large amount of VCPU threads.

Tested-by: Asias He <asias.hejun@gmail.com>
Acked-by: Ingo Molnar <mingo@elte.hu>
Suggested-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Sasha Levin <levinsasha928@gmail.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
tools/kvm/kvm.c