storage: Introduce --inactive for pool-dumpxml

Storage is one of the last domains in libvirt where we don't fully
utilize inactive and live XML. Okay, it might be because we don't
have support for that. So implement such support. However, we need
to fallback when talking to old daemon which doesn't support this
new flag called VIR_STORAGE_XML_INACTIVE.
This commit is contained in:
Michal Privoznik
2012-06-25 13:23:28 +02:00
parent 803dc0a5ba
commit 8d27005b50
5 changed files with 38 additions and 6 deletions
+4
View File
@@ -2445,6 +2445,10 @@ struct _virStorageVolInfo {
typedef virStorageVolInfo *virStorageVolInfoPtr;
typedef enum {
VIR_STORAGE_XML_INACTIVE = (1 << 0), /* dump inactive pool/volume information */
} virStorageXMLFlags;
/*
* Get connection from pool.
*/