![]() |
![]() |
![]() |
Libvirt-gconfig Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy |
struct GVirConfigStoragePool; struct GVirConfigStoragePoolClass; enum GVirConfigStoragePoolType; GVirConfigStoragePool * gvir_config_storage_pool_new (void
); GVirConfigStoragePool * gvir_config_storage_pool_new_from_xml (const gchar *xml
,GError **error
); void gvir_config_storage_pool_set_allocation (GVirConfigStoragePool *pool
,guint64 allocation
); void gvir_config_storage_pool_set_available (GVirConfigStoragePool *pool
,guint64 available
); void gvir_config_storage_pool_set_capacity (GVirConfigStoragePool *pool
,guint64 capacity
); void gvir_config_storage_pool_set_name (GVirConfigStoragePool *pool
,const char *name
); void gvir_config_storage_pool_set_pool_type (GVirConfigStoragePool *pool
,GVirConfigStoragePoolType type
); void gvir_config_storage_pool_set_source (GVirConfigStoragePool *pool
,GVirConfigStoragePoolSource *source
); void gvir_config_storage_pool_set_target (GVirConfigStoragePool *pool
,GVirConfigStoragePoolTarget *target
); void gvir_config_storage_pool_set_uuid (GVirConfigStoragePool *pool
,const char *uuid
);
struct GVirConfigStoragePoolClass { GVirConfigObjectClass parent_class; gpointer padding[20]; };
typedef enum { GVIR_CONFIG_STORAGE_POOL_TYPE_DIR, GVIR_CONFIG_STORAGE_POOL_TYPE_FS, GVIR_CONFIG_STORAGE_POOL_TYPE_NETFS, GVIR_CONFIG_STORAGE_POOL_TYPE_LOGICAL, GVIR_CONFIG_STORAGE_POOL_TYPE_DISK, GVIR_CONFIG_STORAGE_POOL_TYPE_ISCSI, GVIR_CONFIG_STORAGE_POOL_TYPE_SCSI, GVIR_CONFIG_STORAGE_POOL_TYPE_MPATH } GVirConfigStoragePoolType;
GVirConfigStoragePool * gvir_config_storage_pool_new_from_xml (const gchar *xml
,GError **error
);
void gvir_config_storage_pool_set_allocation (GVirConfigStoragePool *pool
,guint64 allocation
);
void gvir_config_storage_pool_set_available (GVirConfigStoragePool *pool
,guint64 available
);
void gvir_config_storage_pool_set_capacity (GVirConfigStoragePool *pool
,guint64 capacity
);
void gvir_config_storage_pool_set_name (GVirConfigStoragePool *pool
,const char *name
);
void gvir_config_storage_pool_set_pool_type (GVirConfigStoragePool *pool
,GVirConfigStoragePoolType type
);
void gvir_config_storage_pool_set_source (GVirConfigStoragePool *pool
,GVirConfigStoragePoolSource *source
);
void gvir_config_storage_pool_set_target (GVirConfigStoragePool *pool
,GVirConfigStoragePoolTarget *target
);
void gvir_config_storage_pool_set_uuid (GVirConfigStoragePool *pool
,const char *uuid
);