]> git.openfabrics.org - ~emulex/infiniband.git/commitdiff
ktest: Set CLOSE_CONSOLE_SIGNAL in the kvm.conf
authorSatoru Takeuchi <satoru.takeuchi@gmail.com>
Sun, 23 Feb 2014 01:19:28 +0000 (10:19 +0900)
committerSteven Rostedt <rostedt@goodmis.org>
Wed, 26 Feb 2014 20:26:24 +0000 (15:26 -0500)
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>
tools/testing/ktest/examples/kvm.conf

index 831c7c5395f1c8b269e216afa2e6b13fbe63b6ac..fbc134f9ac6edfb60f30202e85cfa6fc07a0d075 100644 (file)
@@ -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  #
 #*************************************#