diff options
author | Michal Privoznik <mprivozn@redhat.com> | 2012-06-25 12:24:45 +0200 |
---|---|---|
committer | Michal Privoznik <mprivozn@redhat.com> | 2012-06-25 13:23:28 +0200 |
commit | 8d27005b507ed5e8a9c9f66729b8936af65b2b4b (patch) | |
tree | 219faf7209a881a2ebb687a4649a7941324d04ba /include | |
parent | storage: Switch to new def on pool-destroy (diff) | |
download | libvirt-8d27005b507ed5e8a9c9f66729b8936af65b2b4b.tar.gz libvirt-8d27005b507ed5e8a9c9f66729b8936af65b2b4b.tar.bz2 libvirt-8d27005b507ed5e8a9c9f66729b8936af65b2b4b.zip |
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.
Diffstat (limited to 'include')
-rw-r--r-- | include/libvirt/libvirt.h.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/libvirt/libvirt.h.in b/include/libvirt/libvirt.h.in index 024c4ec55..6e8d5dd43 100644 --- a/include/libvirt/libvirt.h.in +++ b/include/libvirt/libvirt.h.in @@ -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. */ |