[libvirt] [libvirt-perl PATCH] Revert "Add support for VIR_SECRET_USAGE_TYPE_PASSPHRASE"

John Ferlan jferlan at redhat.com
Fri Jul 15 10:25:41 UTC 2016


This reverts commit c74c7608fc1fdb2dc96ca12fcf601ac12990b0ba.

The libvirt changes that caused this were reverted via libvirt.git
commit id 'dae3b965'

Signed-off-by: John Ferlan <jferlan at redhat.com>
---
 Virt.xs                | 1 -
 lib/Sys/Virt/Secret.pm | 5 -----
 2 files changed, 6 deletions(-)

diff --git a/Virt.xs b/Virt.xs
index 4c9f86b..cf4e5bc 100644
--- a/Virt.xs
+++ b/Virt.xs
@@ -8534,7 +8534,6 @@ BOOT:
       REGISTER_CONSTANT(VIR_SECRET_USAGE_TYPE_VOLUME, USAGE_TYPE_VOLUME);
       REGISTER_CONSTANT(VIR_SECRET_USAGE_TYPE_CEPH, USAGE_TYPE_CEPH);
       REGISTER_CONSTANT(VIR_SECRET_USAGE_TYPE_ISCSI, USAGE_TYPE_ISCSI);
-      REGISTER_CONSTANT(VIR_SECRET_USAGE_TYPE_PASSPHRASE, USAGE_TYPE_PASSPHRASE);
 
 
       REGISTER_CONSTANT(VIR_CONNECT_LIST_SECRETS_EPHEMERAL, LIST_EPHEMERAL);
diff --git a/lib/Sys/Virt/Secret.pm b/lib/Sys/Virt/Secret.pm
index beab68b..b871190 100644
--- a/lib/Sys/Virt/Secret.pm
+++ b/lib/Sys/Virt/Secret.pm
@@ -149,11 +149,6 @@ The constant for secrets which are to be used for authenticating
 to iSCSI storage volumes. The usage ID for secrets will refer to
 the server name.
 
-=item Sys::Virt::Secret::USAGE_TYPE_PASSPHRASE
-
-The constant for general purpose secret to be used by various libvirt
-objects to provide a single passphrase.
-
 =back
 
 =head2 LIST FILTERING
-- 
2.5.5




More information about the libvir-list mailing list