diff options
author | 2018-08-24 14:03:57 +0200 | |
---|---|---|
committer | 2018-08-30 17:15:12 +0200 | |
commit | 710ab11ad9329d2d4b044405e328c994b19a2aa9 (patch) | |
tree | 654adc6f7cef41e5c4083b248043ee842b360701 /lib | |
parent | tools/kvm_stat: fix handling of invalid paths in debugfs provider (diff) | |
download | linux-dev-710ab11ad9329d2d4b044405e328c994b19a2aa9.tar.xz linux-dev-710ab11ad9329d2d4b044405e328c994b19a2aa9.zip |
tools/kvm_stat: fix updates for dead guests
With pid filtering active, when a guest is removed e.g. via virsh shutdown,
successive updates produce garbage.
Therefore, we add code to detect this case and prevent further body updates.
Note that when displaying the help dialog via 'h' in this case, once we exit
we're stuck with the 'Collecting data...' message till we remove the filter.
Signed-off-by: Stefan Raspl <raspl@linux.ibm.com>
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions