Skip to contentSkip to conversation

ktest: Set CLOSE_CONSOLE_SIGNAL in the kvm.conf

PATCH New Steven Rostedt 1 participant 1 message Feb 26, 2014 Ktest

lore
Share & tools
lore

Steven Rostedt

author maintainer
#0 lore raw

PATCH 1/1 ktest: Set CLOSE_CONSOLE_SIGNAL in the kvm.conf

git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-ktest.git
for-next

Head SHA1: 62183dcac539a14ed0a820b8392db353d72a7d7e

Satoru Takeuchi (1):
ktest: Set CLOSE_CONSOLE_SIGNAL in the kvm.conf

----

 tools/testing/ktest/examples/kvm.conf | 4 ++++
 1 file changed, 4 insertions(+)
---------------------------
commit 62183dcac539a14ed0a820b8392db353d72a7d7e
Author: Satoru Takeuchi <[email protected]>
Date:   Sun Feb 23 10:19:28 2014 +0900

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.

tools/testing/ktest/examples/kvm.conf +4 -0
index 831c7c5..fbc134f 100644
@@ -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  #
 #*************************************#