]> git.karo-electronics.de Git - karo-tx-linux.git/commit
kvm tools: Beautify kvm list output
authorOsier Yang <jyang@redhat.com>
Wed, 26 Oct 2011 06:02:11 +0000 (14:02 +0800)
committerPekka Enberg <penberg@kernel.org>
Thu, 27 Oct 2011 07:19:02 +0000 (10:19 +0300)
commit5286d79e80978ad6a15a7e6a6fc0761df5443c79
tree7c1f5d1ba0baeb2a67ff3f655af912f143201ffa
parentcfdcf85d2615f045273b00af0b19c8bad777303a
kvm tools: Beautify kvm list output

With the patch, output of "kvm list" will be:

% ./kvm list
   PID NAME                 STATE
------------------------------------
 5270 test                 running
      test                 shut off
      default              shut off

"not running" is changed into "shut off", as it might
be other states which are "not running" in future? such
as "paused".

Signed-off-by: Osier Yang <jyang@redhat.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
tools/kvm/builtin-list.c