From c77856f97a181ed819a26092b40e40738f2252ee Mon Sep 17 00:00:00 2001 From: Franziska Kunsmann Date: Sat, 21 Nov 2020 21:01:37 +0100 Subject: [PATCH] bundles/vmhost: add info line to QEMU VM STATUS --- bundles/vmhost/files/check_vm_status | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bundles/vmhost/files/check_vm_status b/bundles/vmhost/files/check_vm_status index cb39f57..d75d610 100644 --- a/bundles/vmhost/files/check_vm_status +++ b/bundles/vmhost/files/check_vm_status @@ -30,6 +30,8 @@ for vm in result[2:]: stopped.add('{}: {}'.format(info[1], info[2])) +print('{} running, {} stopped, {} crashed'.format(len(running), len(stopped), len(crashed))) + for vm in sorted(crashed): print(vm)