|
|
4a2fec |
From 554fa10df52cbb50ef39ee5eb4ac324610b240ea Mon Sep 17 00:00:00 2001
|
|
|
4a2fec |
From: David Hildenbrand <david@redhat.com>
|
|
|
4a2fec |
Date: Tue, 17 Oct 2017 19:16:01 +0200
|
|
|
4a2fec |
Subject: [PATCH 56/69] tools/kvm_stat: display guest list in pid/guest
|
|
|
4a2fec |
selection screens
|
|
|
4a2fec |
|
|
|
4a2fec |
RH-Author: David Hildenbrand <david@redhat.com>
|
|
|
4a2fec |
Message-id: <20171017191605.2378-36-david@redhat.com>
|
|
|
4a2fec |
Patchwork-id: 77342
|
|
|
4a2fec |
O-Subject: [RHEL-7.5 qemu-kvm-rhev PATCH 35/39] tools/kvm_stat: display guest list in pid/guest selection screens
|
|
|
4a2fec |
Bugzilla: 1497137
|
|
|
4a2fec |
RH-Acked-by: Paolo Bonzini <pbonzini@redhat.com>
|
|
|
4a2fec |
RH-Acked-by: Cornelia Huck <cohuck@redhat.com>
|
|
|
4a2fec |
RH-Acked-by: Stefan Hajnoczi <stefanha@redhat.com>
|
|
|
4a2fec |
RH-Acked-by: Thomas Huth <thuth@redhat.com>
|
|
|
4a2fec |
|
|
|
4a2fec |
Upstream-status: linux.git 61f381bb7e1a8e9250aa32b3963a7a5c4b92cbf5
|
|
|
4a2fec |
|
|
|
4a2fec |
commit 61f381bb7e1a8e9250aa32b3963a7a5c4b92cbf5
|
|
|
4a2fec |
Author: Stefan Raspl <raspl@linux.vnet.ibm.com>
|
|
|
4a2fec |
Date: Sun Jun 25 21:34:14 2017 +0200
|
|
|
4a2fec |
|
|
|
4a2fec |
tools/kvm_stat: fix error on interactive command 'g'
|
|
|
4a2fec |
|
|
|
4a2fec |
Fix an instance where print_all_gnames() is called without the mandatory
|
|
|
4a2fec |
argument, resulting in a stack trace.
|
|
|
4a2fec |
To reproduce, simply press 'g' in interactive mode.
|
|
|
4a2fec |
|
|
|
4a2fec |
Signed-off-by: Stefan Raspl <raspl@linux.vnet.ibm.com>
|
|
|
4a2fec |
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
|
|
|
4a2fec |
|
|
|
4a2fec |
Signed-off-by: David Hildenbrand <david@redhat.com>
|
|
|
4a2fec |
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
|
|
|
4a2fec |
---
|
|
|
4a2fec |
scripts/kvm/kvm_stat | 2 +-
|
|
|
4a2fec |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
4a2fec |
|
|
|
4a2fec |
diff --git a/scripts/kvm/kvm_stat b/scripts/kvm/kvm_stat
|
|
|
4a2fec |
index 2cf5176..39476e5 100755
|
|
|
4a2fec |
--- a/scripts/kvm/kvm_stat
|
|
|
4a2fec |
+++ b/scripts/kvm/kvm_stat
|
|
|
4a2fec |
@@ -1195,7 +1195,7 @@ class Tui(object):
|
|
|
4a2fec |
'This might limit the shown data to the trace '
|
|
|
4a2fec |
'statistics.')
|
|
|
4a2fec |
self.screen.addstr(5, 0, msg)
|
|
|
4a2fec |
- self.print_all_gnames()
|
|
|
4a2fec |
+ self.print_all_gnames(7)
|
|
|
4a2fec |
curses.echo()
|
|
|
4a2fec |
self.screen.addstr(3, 0, "Guest [ENTER or guest]: ")
|
|
|
4a2fec |
gname = self.screen.getstr()
|
|
|
4a2fec |
--
|
|
|
4a2fec |
1.8.3.1
|
|
|
4a2fec |
|