]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Add support for detecting the partition table type when scanning
authorChris Lalancette <clalance@redhat.com>
Thu, 16 Oct 2008 15:06:03 +0000 (15:06 +0000)
committerChris Lalancette <clalance@redhat.com>
Thu, 16 Oct 2008 15:06:03 +0000 (15:06 +0000)
commiteeff3cdcbc763e9a9aefa17a69faddcd5fc34112
treed5c454465207f51965ca4c374da23e5e5991a482
parent164f78662639b321ef833e87e19fa28aea426f20
Add support for detecting the partition table type when scanning
iSCSI volumes.  This is implemented in the
virStorageBackendUpdateVolInfoFD function, so all future callers will
automatically benefit.  This is a somewhat large patch because the
conversion of the virStorageBackendPartTableTypeToString necessitated
a change to the formatToString and formatFromString function pointers,
which caused fallout in other places in the storage stuff.  The good
news is that most of these callers are now converted over to the
VIR_ENUM_IMPL, which means a lot of redundant code is now gone.

Signed-off-by: Chris Lalancette <clalance@redhat.com>
ChangeLog
src/storage_backend.c
src/storage_backend.h
src/storage_backend_disk.c
src/storage_backend_fs.c
src/storage_backend_iscsi.c
src/storage_backend_logical.c
src/storage_conf.c