Add 'encinfo' to the extended disk structure. This will contain the
encryption secret (if present).
Signed-off-by: John Ferlan <jferlan@redhat.com>
qemuDomainDiskPrivatePtr priv = obj;
qemuDomainSecretInfoFree(&priv->secinfo);
+ qemuDomainSecretInfoFree(&priv->encinfo);
}
* NB: *not* to be written to qemu domain object XML */
qemuDomainSecretInfoPtr secinfo;
+ /* for storage devices using encryption/secret
+ * Can have both <auth> and <encryption> for some disks
+ * NB:*not* to be written to qemu domain object XML */
+ qemuDomainSecretInfoPtr encinfo;
+
/* information about the device */
bool tray; /* device has tray */
bool removable; /* device media can be removed/changed */