]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virsh: Remember terminal state when starting and add helpers
authorPeter Krempa <pkrempa@redhat.com>
Thu, 29 Aug 2013 08:36:00 +0000 (10:36 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 3 Sep 2013 07:55:27 +0000 (09:55 +0200)
commitebef68936396f7eab077e883ac48c4ce0508afa2
treea285deccab04402dd271e90f4b29dd6fdca98578
parentf8456e5a18671544cea341ec8a3e82a7a21035d8
virsh: Remember terminal state when starting and add helpers

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.
tools/virsh.c
tools/virsh.h