Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ktest: Set CLOSE_CONSOLE_SIGNAL in the kvm.conf

As mentioned at commit 5a5d8e48449, we can't terminate 'virsh console'
with the default signal(INT). So it's better to set CLOSE_CONSOLE_SIGNAL
in the kvm.conf.

Link: http://lkml.kernel.org/r/8738jatylb.wl%satoru.takeuchi@gmail.com

Signed-off-by: Satoru Takeuchi <satoru.takeuchi@gmail.com>
[ Typo fixed by ]
Signed-off-by: MUNEDA Takahiro <muneda.takahiro@jp.fujitsu.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>

authored by

Satoru Takeuchi and committed by
Steven Rostedt
62183dca cfbf8d48

+4
+4
tools/testing/ktest/examples/kvm.conf
··· 10 10 # Use virsh to read the serial console of the guest 11 11 CONSOLE = virsh console ${MACHINE} 12 12 13 + # Use SIGKILL to terminate virsh console. We can't kill virsh console 14 + # by the default signal, SIGINT. 15 + CLOSE_CONSOLE_SIGNAL = KILL 16 + 13 17 #*************************************# 14 18 # This part is the same as test.conf # 15 19 #*************************************#