diff options
author | Satoru Takeuchi <satoru.takeuchi@gmail.com> | 2014-02-22 20:19:28 -0500 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2014-02-26 15:26:24 -0500 |
commit | 62183dcac539a14ed0a820b8392db353d72a7d7e (patch) | |
tree | c5c22dd468c2fb64592936a656138b8704b777bc /tools | |
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')
-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 | |||
10 | # Use virsh to read the serial console of the guest | 10 | # Use virsh to read the serial console of the guest |
11 | CONSOLE = virsh console ${MACHINE} | 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 | # This part is the same as test.conf # | 18 | # This part is the same as test.conf # |
15 | #*************************************# | 19 | #*************************************# |