]> git.ipfire.org Git - thirdparty/libvirt.git/commit
storage: Add gluster pool filter and fix virsh pool listing
authorPeter Krempa <pkrempa@redhat.com>
Fri, 13 Dec 2013 09:31:50 +0000 (10:31 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 19 Dec 2013 10:01:50 +0000 (11:01 +0100)
commitb560946c19dfdf1ab04ad01baf4cf9624e6399cc
tree72b8574000b5700afd02786e4b59746a8ad2faff
parent32487c86c6e8ab35153f5110897ebd94c65ffb8c
storage: Add gluster pool filter and fix virsh pool listing

Recent addition of the gluster pool type omitted fixing the virsh and
virConnectListAllStoragePool filters. A typecast of the converting
function in virsh showed that also the sheepdog pool was omitted in the
command parser.

This patch adds gluster pool filtering support and fixes virsh to
properly convert all supported storage pool types. The added typecast
should avoid doing such mistakes in the future.
include/libvirt/libvirt.h.in
src/conf/storage_conf.c
tools/virsh-pool.c
tools/virsh.pod