[libvirt] [PATCH 2/3] virsh: Remember terminal state when starting and add helpers

Michal Privoznik mprivozn at redhat.com
Mon Sep 2 15:55:39 UTC 2013


On 29.08.2013 17:52, Peter Krempa wrote:
> This patch adds instrumentation to allow modification of config of the
> terminal in virsh and successful reset of the state afterwards.
> 
> The added helpers allow to disable receiving of SIGINT when pressing the
> key sequence (Ctrl+C usualy). This normally sends SIGINT to the
> foreground process group which kills ssh processes used for transport of
> the data.
> ---
> The termios code may need protecting with #ifndef WIN32.
> 
> 
>  tools/virsh.c | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
>  tools/virsh.h |  9 +++++++++
>  2 files changed, 63 insertions(+)

ACK

Michal




More information about the libvir-list mailing list