Top | ![]() |
![]() |
![]() |
![]() |
const gchar * | gvir_storage_vol_get_name () |
const gchar * | gvir_storage_vol_get_path () |
gboolean | gvir_storage_vol_delete () |
GVirConfigStorageVol * | gvir_storage_vol_get_config () |
GVirStorageVolInfo * | gvir_storage_vol_get_info () |
gboolean | gvir_storage_vol_resize () |
gboolean | gvir_storage_vol_download () |
gboolean | gvir_storage_vol_upload () |
GVirStorageVolHandle * | handle | Read / Write / Construct Only |
GVirStoragePool * | pool | Read / Write / Construct Only |
const gchar * gvir_storage_vol_get_path (GVirStorageVol *vol
,GError **error
);
gboolean gvir_storage_vol_delete (GVirStorageVol *vol
,guint flags
,GError **err
);
Deletes the storage volume vol
.
GVirConfigStorageVol * gvir_storage_vol_get_config (GVirStorageVol *vol
,guint flags
,GError **err
);
GVirStorageVolInfo * gvir_storage_vol_get_info (GVirStorageVol *vol
,GError **err
);
gboolean gvir_storage_vol_resize (GVirStorageVol *vol
,guint64 capacity
,guint flags
,GError **err
);
Changes the capacity of the storage volume vol
to capacity
.
gboolean gvir_storage_vol_download (GVirStorageVol *vol
,GVirStream *stream
,guint64 offset
,guint64 length
,guint flags
,GError **err
);
gboolean gvir_storage_vol_upload (GVirStorageVol *vol
,GVirStream *stream
,guint64 offset
,guint64 length
,guint flags
,GError **err
);
No flags |
||
force allocation of new size |
||
size is relative to current |
||
allow decrease in capacity. This combined with GVIR_STORAGE_VOL_RESIZE_DELTA, implies a negative delta. |
“handle”
property “handle” GVirStorageVolHandle *
The storage_vol handle.
Flags: Read / Write / Construct Only
“pool”
property“pool” GVirStoragePool *
The containing storage pool.
Flags: Read / Write / Construct Only