]> git.karo-electronics.de Git - karo-tx-linux.git/commit
kvm tools: Send SysRq-P to guest kernel on SIGQUIT
authorPekka Enberg <penberg@kernel.org>
Fri, 8 Apr 2011 12:21:36 +0000 (15:21 +0300)
committerPekka Enberg <penberg@kernel.org>
Fri, 8 Apr 2011 12:57:10 +0000 (15:57 +0300)
commitd2ae8f98ac43b19ed1c684f5bec384ab10f5382f
tree8d09d840b8ff666175d95f50626e3a391fb7bbd3
parent614a5b4e37434216d8db32a8d31a958b8d745837
kvm tools: Send SysRq-P to guest kernel on SIGQUIT

This patch makes SIGQUIT to the host hypervisor send 'SysRq-P' to the guest
kernel via 8250 serial console to make debugging stuck guests easier.

Cc: Asias He <asias.hejun@gmail.com>
Cc: Cyrill Gorcunov <gorcunov@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
tools/kvm/8250-serial.c
tools/kvm/include/kvm/8250-serial.h
tools/kvm/main.c