On 09/06/2010 11:39 AM, Jes Sorensen wrote:
On 09/01/10 09:17, Avi Kivity wrote:
Less cluttered display.

Signed-off-by: Avi Kivity<[email protected]>
---
  kvm/kvm_stat |    2 ++
  1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/kvm/kvm_stat b/kvm/kvm_stat
index 4a16277..d373c60 100755
--- a/kvm/kvm_stat
+++ b/kvm/kvm_stat
@@ -315,6 +315,8 @@ def tui(screen, stats):
              if row>= screen.getmaxyx()[0]:
                  break
              values = s[key]
+            if not values[0] and not values[1]:
+                break
              col = 1
              screen.addstr(row, col, key)
              col += label_width
Is this just for the live display update, or does it also affect single
run outputs?


Just the live update.

--
error compiling committee.c: too many arguments to function

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to