public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ktest: Set CLOSE_CONSOLE_SIGNAL in the kvm.conf
@ 2014-02-23  1:19 Satoru Takeuchi
  2014-02-24 14:30 ` Steven Rostedt
  0 siblings, 1 reply; 6+ messages in thread
From: Satoru Takeuchi @ 2014-02-23  1:19 UTC (permalink / raw)
  To: linux-kernel; +Cc: Steven Rostedt

From: Satoru Takeuchi <satoru.takeuchi@gmail.com>

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.

Signed-off-by: Satoru Takeuchi <satoru.takeuchi@gmail.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
---
 tools/testing/ktest/examples/kvm.conf | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/tools/testing/ktest/examples/kvm.conf b/tools/testing/ktest/examples/kvm.conf
index 831c7c5..40356f7 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 SIGILL 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  #
 #*************************************#
-- 
1.8.4.2


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-02-26 20:29 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-23  1:19 [PATCH] ktest: Set CLOSE_CONSOLE_SIGNAL in the kvm.conf Satoru Takeuchi
2014-02-24 14:30 ` Steven Rostedt
2014-02-26  2:21   ` MUNEDA Takahiro
2014-02-26 11:43     ` Satoru Takeuchi
2014-02-26 13:43       ` Steven Rostedt
2014-02-26 20:29     ` Steven Rostedt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox