commit | dadf1e7839243474b691ca4258bfd2a59e628a5e | [log] [tgz] |
---|---|---|
author | Stefan Raspl <raspl@linux.vnet.ibm.com> | Fri Mar 10 13:40:02 2017 +0100 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Wed Mar 29 12:01:25 2017 +0200 |
tree | 8908459086c1306540f7aa3147aad51ff5d4a6e3 | |
parent | 9fc0adfc427a5e3f95f8db8dafabe1eaa3720f4a [diff] |
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>