]> 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)
commita9bac1d73f67848044bf70a40f24b556449668e5
tree8908459086c1306540f7aa3147aad51ff5d4a6e3
parent6886a8e258f2737a3c78cabdf31006dfa4031fbb
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