mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 13:45:38 +00:00
api: add virStoragePoolDefineFlags
Signed-off-by: Kristina Hanicova <khanicov@redhat.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
e70e8e2dd8
commit
7097367b25
@ -271,6 +271,10 @@ virStoragePoolPtr virStoragePoolLookupByVolume (virStorageVolPtr vol);
|
||||
virStoragePoolPtr virStoragePoolLookupByTargetPath(virConnectPtr conn,
|
||||
const char *path);
|
||||
|
||||
typedef enum {
|
||||
VIR_STORAGE_POOL_DEFINE_VALIDATE = 1 << 0, /* Validate the XML document against schema */
|
||||
} virStoragePoolDefineFlags;
|
||||
|
||||
/*
|
||||
* Creating/destroying pools
|
||||
*/
|
||||
|
@ -591,7 +591,7 @@ virStoragePoolCreateXML(virConnectPtr conn,
|
||||
* virStoragePoolDefineXML:
|
||||
* @conn: pointer to hypervisor connection
|
||||
* @xml: XML description for new pool
|
||||
* @flags: extra flags; not used yet, so callers should always pass 0
|
||||
* @flags: bitwise-OR of virStoragePoolDefineFlags
|
||||
*
|
||||
* Define an inactive persistent storage pool or modify an existing persistent
|
||||
* one from the XML description.
|
||||
|
Loading…
Reference in New Issue
Block a user