1Sys::VirtConvert::ConneUcsteironC:o:nVtorliubmuet(e3d)PSeyrsl::DVoicrutmCeonntvaetrito:n:Connection::Volume(3)
2
3
4
6 Sys::VirtConvert::Connection::Volume - Read and write storage volumes
7
9 new(name, format, path, size, usage, is_block, transfer)
10 Create a new Volume which returns the given metadata, and uses
11 transfer for transferring data.
12
13 get_size
14 Return size for this Volume.
15
16 get_usage
17 Return the disk usage for this Volume.
18
19 get_format
20 Return the on-disk format of this Volume.
21
22 get_name
23 Return the name of this Volume.
24
25 get_path
26 Return the native path of this Volume.
27
28 get_local_path
29 is_block
30 Return 1 if the volume is stored directly on a block device, 0
31 otherwise.
32
33 is_sparse
34 Return 1 if the volume is not fully allocated, 0 otherwise.
35
36 get_read_stream(convert)
37 Return a ReadStream for this volume. Data will be converted to raw
38 format if convert is 1.
39
40 get_write_stream(convert)
41 Return a WriteStream for this volume. Data will be converted from
42 raw format is convert is 1.
43
45 Copyright (C) 2010 Red Hat Inc.
46
48 Please see the file COPYING.LIB for the full license.
49
51 virt-v2v(1), <http://libguestfs.org/>.
52
53
54
55perl v5.10.1 2013-1S2y-s0:3:VirtConvert::Connection::Volume(3)