• E
    conf: use common struct in storage volumes · df176115
    Eric Blake 提交于
    A fairly smooth transition.  And now that domain disks and
    storage volumes share a common struct, it opens the doors for
    a future patch to expose more details in the XML for both
    objects.
    
    * src/conf/storage_conf.h (_virStorageVolTarget): Delete.
    (_virStorageVolDef): Use common type.
    * src/conf/storage_conf.c (virStorageVolDefFree)
    (virStorageVolTargetDefFormat): Update clients.
    * src/storage/storage_backend.h: Likewise.
    * src/storage/storage_backend.c
    (virStorageBackendDetectBlockVolFormatFD)
    (virStorageBackendUpdateVolTargetInfo)
    (virStorageBackendUpdateVolTargetInfoFD): Likewise.
    * src/storage/storage_backend_fs.c (virStorageBackendProbeTarget):
    Likewise.
    Signed-off-by: NEric Blake <eblake@redhat.com>
    df176115
storage_conf.c 70.4 KB