]> git.karo-electronics.de Git - karo-tx-linux.git/commit
kvm tools: Make keyboard termination go through regular termination path
authorSasha Levin <levinsasha928@gmail.com>
Thu, 11 Aug 2011 12:43:54 +0000 (15:43 +0300)
committerPekka Enberg <penberg@kernel.org>
Thu, 11 Aug 2011 14:01:15 +0000 (17:01 +0300)
commitae622771002683a9caad0253e2f87001135c0123
treee263771ccc8c1f36a1755113268e4c67d1dc64cb
parent90417634d639f7ccad8615ddf08ac7adede4b7a1
kvm tools: Make keyboard termination go through regular termination path

Instead of exiting directly when a user enters 'ctrl x + a', go through
the regular termination path by stopping all VCPUs and letting the
main thread handle it.

Signed-off-by: Sasha Levin <levinsasha928@gmail.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
tools/kvm/builtin-run.c
tools/kvm/kvm-cpu.c
tools/kvm/term.c