From: Satoru Takeuchi Date: Sun, 23 Feb 2014 01:19:28 +0000 (+0900) Subject: ktest: Set CLOSE_CONSOLE_SIGNAL in the kvm.conf X-Git-Tag: next-20140306~12^2 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=62183dcac539a14ed0a820b8392db353d72a7d7e;p=karo-tx-linux.git 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 [ Typo fixed by ] Signed-off-by: MUNEDA Takahiro Signed-off-by: Steven Rostedt --- 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 # #*************************************#