]> xenbits.xensource.com Git - libvirt.git/commit
virsh: Fix vol-info's 'Type' output
authorRyota Ozaki <ozaki.ryota@gmail.com>
Sat, 22 Oct 2011 04:24:17 +0000 (13:24 +0900)
committerOsier Yang <jyang@redhat.com>
Mon, 24 Oct 2011 01:44:25 +0000 (09:44 +0800)
commit9981fc5828f594b0cb159f607acfee6cff060331
tree28b90af1284b4214d832de6b4e4b25b9a34530f4
parent390645b346a9c10ef4b06b51406f07858626c481
virsh: Fix vol-info's 'Type' output

We have a new vol type "dir" in addition to "file" and "block", but
virsh doesn't know it. Fix it.

Additionally, the patch lets virsh output "unknown" if not matched
any of them.
tools/virsh.c