OSDN Git Service

tools/kvm_stat: re-animate display of dead guests
authorStefan Raspl <stefan.raspl@de.ibm.com>
Fri, 24 Aug 2018 12:04:01 +0000 (14:04 +0200)
committerRadim Krčmář <rkrcmar@redhat.com>
Thu, 30 Aug 2018 15:15:12 +0000 (17:15 +0200)
commitc012a0f2677529a0ae8f53a15bd7c61dc4ca5b5e
tree6c9e4ee6a072c35afce5037140400d402fa8e3a7
parent404517e40867aef60554ef497d5cf8d089a5b9cf
tools/kvm_stat: re-animate display of dead guests

When filtering by guest (interactive commands 'p'/'g'), and the respective
guest was destroyed, detect when the guest is up again through the guest
name if possible.
I.e. when displaying events for a specific guest, it is not necessary
anymore to restart kvm_stat in case the guest is restarted.

Signed-off-by: Stefan Raspl <raspl@linux.ibm.com>
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
tools/kvm/kvm_stat/kvm_stat