diff options
author | Stefan Raspl <stefan.raspl@de.ibm.com> | 2018-08-24 14:03:59 +0200 |
---|---|---|
committer | Radim Krčmář <rkrcmar@redhat.com> | 2018-08-30 17:15:12 +0200 |
commit | 29c39f38e4e8dbf0497e81db6c985ee59259f002 (patch) | |
tree | 9699cab1e002fa6b34ac5f942dcdf8fc1e130d79 /scripts/coccinelle | |
parent | 0db8b3102368755242b44f2b30f93302c70e8e82 (diff) | |
download | linux-stable-29c39f38e4e8dbf0497e81db6c985ee59259f002.tar.gz linux-stable-29c39f38e4e8dbf0497e81db6c985ee59259f002.tar.bz2 linux-stable-29c39f38e4e8dbf0497e81db6c985ee59259f002.zip |
tools/kvm_stat: handle guest removals more gracefully
When running with the DebugFS provider, removal of a guest can result in a
negative CurAvg/s, which looks rather confusing.
If so, suppress the body refresh and print a message instead.
To reproduce, have at least one guest A completely booted. Then start
another guest B (which generates a huge amount of events), then destroy B.
On the next refresh, kvm_stat should display a whole lot of negative values
in the CurAvg/s column.
Signed-off-by: Stefan Raspl <raspl@linux.ibm.com>
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
Diffstat (limited to 'scripts/coccinelle')
0 files changed, 0 insertions, 0 deletions