Sys::VirtConvert::ConnUseroContributed)Sys::VirtConvert::Connection::Volume(3)NAMESys::VirtConvert::Connection::Volume - Read and write storage volumes
METHODS
new(name, format, path, size, usage, is_block, transfer)
Create a new Volume which returns the given metadata, and uses
transfer for transferring data.
get_size
Return size for this Volume.
get_usage
Return the disk usage for this Volume.
get_format
Return the on-disk format of this Volume.
get_name
Return the name of this Volume.
get_path
Return the native path of this Volume.
get_local_path
is_block
Return 1 if the volume is stored directly on a block device, 0
otherwise.
is_sparse
Return 1 if the volume is not fully allocated, 0 otherwise.
get_read_stream(convert)
Return a ReadStream for this volume. Data will be converted to raw
format if convert is 1.
get_write_stream(convert)
Return a WriteStream for this volume. Data will be converted from
raw format is convert is 1.
COPYRIGHT
Copyright (C) 2010 Red Hat Inc.
LICENSE
Please see the file COPYING.LIB for the full license.
SEE ALSOvirt-v2v(1), <http://libguestfs.org/>.
perl v5.10.12013-Sys::VirtConvert::Connection::Volume(3)