lkml.org 
[lkml]   [2014]   [Feb]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] ktest: Set CLOSE_CONSOLE_SIGNAL in the kvm.conf
On Sun, 23 Feb 2014 10:19:28 +0900
Satoru Takeuchi <satoru.takeuchi@gmail.com> wrote:

> 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
> +

Thanks, I'll add this to my 3.15 queue.

-- Steve

> #*************************************#
> # This part is the same as test.conf #
> #*************************************#



\
 
 \ /
  Last update: 2014-02-24 16:01    [W:0.044 / U:2.092 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site