]> git.ipfire.org Git - thirdparty/libvirt.git/commit
secret: Create a 'configFile' in virSecretObj
authorJohn Ferlan <jferlan@redhat.com>
Wed, 24 Feb 2016 00:04:32 +0000 (19:04 -0500)
committerJohn Ferlan <jferlan@redhat.com>
Tue, 1 Mar 2016 11:43:53 +0000 (06:43 -0500)
commitaefe02f52e2ce9f7fda7ef0eaea8882f7b2e77e4
tree8de907c4bb6fee7404ebe7a4388e66bdf4c399aa
parent232b7417a6c316c702108acad65b76d1ec1903a6
secret: Create a 'configFile' in virSecretObj

This patch removes the need for secretXMLPath. Instead save 'path' during
loadSecret as 'configFile'. The secretXMLPath is nothing more than an
open coded virFileBuildPath.  All that code did was concantenate the
driver->configDir, the UUID of the secret, and the ".xml" suffix to form
the configFile name which we now will generate and save instead.

Signed-off-by: John Ferlan <jferlan@redhat.com>
src/secret/secret_driver.c