diff options
author | Satoru Takeuchi <satoru.takeuchi@gmail.com> | 2014-02-23 10:19:28 +0900 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2014-02-26 15:26:24 -0500 |
commit | 62183dcac539a14ed0a820b8392db353d72a7d7e (patch) | |
tree | c5c22dd468c2fb64592936a656138b8704b777bc /tools/testing/ktest | |
parent | cfbf8d4857c26a8a307fb7cd258074c9dcd8c691 (diff) |
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>
Diffstat (limited to 'tools/testing/ktest')
-rw-r--r-- | tools/testing/ktest/examples/kvm.conf | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/testing/ktest/examples/kvm.conf b/tools/testing/ktest/examples/kvm.conf index 831c7c5395f1..fbc134f9ac6e 100644 --- a/tools/testing/ktest/examples/kvm.conf +++ b/tools/testing/ktest/examples/kvm.conf @@ -10,6 +10,10 @@ MACHINE = Guest # Use virsh to read the serial console of the guest CONSOLE = virsh console ${MACHINE} +# Use SIGKILL to terminate virsh console. We can't kill virsh console +# by the default signal, SIGINT. +CLOSE_CONSOLE_SIGNAL = KILL + #*************************************# # This part is the same as test.conf # #*************************************# |