commit | 710ab11ad9329d2d4b044405e328c994b19a2aa9 | [log] [tgz] |
---|---|---|
author | Stefan Raspl <stefan.raspl@de.ibm.com> | Fri Aug 24 14:03:57 2018 +0200 |
committer | Radim Krčmář <rkrcmar@redhat.com> | Thu Aug 30 17:15:12 2018 +0200 |
tree | 654adc6f7cef41e5c4083b248043ee842b360701 | |
parent | 617c66b9f236d20f11cecbb3f45e6d5675b2fae1 [diff] |
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>