]> git.baikalelectronics.ru Git - kernel.git/commit
tools/kvm_stat: handle SIGINT in log and batch modes
authorStefan Raspl <raspl@linux.vnet.ibm.com>
Fri, 10 Mar 2017 12:40:02 +0000 (13:40 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 29 Mar 2017 10:01:25 +0000 (12:01 +0200)
commitde76a812d99a7d2613c15837c22a109ed9527be4
tree8908459086c1306540f7aa3147aad51ff5d4a6e3
parent57927d2edc191ea345df2fd3dbb92766f15d22ff
tools/kvm_stat: handle SIGINT in log and batch modes

SIGINT causes ugly unhandled exceptions in log and batch mode, which we
prevent by catching the exceptions accordingly.

Signed-off-by: Stefan Raspl <raspl@linux.vnet.ibm.com>
Reviewed-by: Marc Hartmayer <mhartmay@linux.vnet.ibm.com>
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
tools/kvm/kvm_stat/kvm_stat