Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 57253937 authored by Stefan Raspl's avatar Stefan Raspl Committed by Paolo Bonzini
Browse files

tools/kvm_stat: display message indicating lack of events



Give users some indication on the reason why no data is displayed on the
screen yet.

Signed-off-by: default avatarStefan Raspl <raspl@linux.vnet.ibm.com>
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent 62d1b6cc
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1013,6 +1013,8 @@ class Tui(object):
                                   (key, values[0], values[0] * 100 / total,
                                    cur))
            row += 1
        if row == 3:
            self.screen.addstr(4, 1, 'No matching events reported yet')
        self.screen.refresh()

    def show_filter_selection(self):