]> git.karo-electronics.de Git - karo-tx-linux.git/commit
kvm tools: Fix SDL exit on window close
authorSasha Levin <levinsasha928@gmail.com>
Tue, 25 Oct 2011 11:46:47 +0000 (13:46 +0200)
committerPekka Enberg <penberg@kernel.org>
Tue, 25 Oct 2011 11:51:22 +0000 (14:51 +0300)
commit88a617185aa83e29172d93cf377e1b767c35e692
treef9992c861ce2e0b25bc840a44676a503aa5ffaf2
parente60f56fab1c61a46fd160ab34dcc96193bc7f5cf
kvm tools: Fix SDL exit on window close

We've changed IPC to use sockets instead of signals, but the process of
closing the SDL window was still trigerring an exit signal causing
an ugly message and not cleaning up after itself.

This patch switches that to use the proper method of cleaning up.

Reported-by: Osier Yang <jyang@redhat.com>
Signed-off-by: Sasha Levin <levinsasha928@gmail.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
tools/kvm/ui/sdl.c