]> git.ipfire.org Git - thirdparty/libvirt.git/commit
secret: Move virStorageSecretType and rename
authorJohn Ferlan <jferlan@redhat.com>
Sat, 28 May 2016 12:43:23 +0000 (08:43 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Thu, 23 Jun 2016 16:30:27 +0000 (12:30 -0400)
commit1eca5f6581c60de6798ca9b4896335aafdebaae4
treee0799e93c0ce3fbcb014425b1437a21d9dd52d2d
parente808d3f227b8fa461eb7104fd4382ea817152cbb
secret: Move virStorageSecretType and rename

Move the enum into a new src/util/virsecret.h, rename it to be
virSecretLookupType. Add a src/util/virsecret.h in order to perform
a couple of simple operations on the secret XML and virSecretLookupTypeDef
for clearing and copying.

This includes quite a bit of collateral damage, but the goal is to remove
the "virStorage*" and replace with the virSecretLookupType so that it's
easier to to add new lookups that aren't necessarily storage pool related.

Signed-off-by: John Ferlan <jferlan@redhat.com>
14 files changed:
src/Makefile.am
src/conf/secret_conf.h
src/libvirt_private.syms
src/libxl/libxl_conf.c
src/qemu/qemu_domain.c
src/secret/secret_util.c
src/secret/secret_util.h
src/storage/storage_backend_iscsi.c
src/storage/storage_backend_rbd.c
src/util/virsecret.c [new file with mode: 0644]
src/util/virsecret.h [new file with mode: 0644]
src/util/virstoragefile.c
src/util/virstoragefile.h
tests/qemuargv2xmltest.c