Re: [libvirt] [PATCH v2 04/15] util: Add 'usage' for encryption

2016-06-24 Thread John Ferlan
On 06/24/2016 09:25 AM, Peter Krempa wrote: > On Thu, Jun 23, 2016 at 13:29:00 -0400, John Ferlan wrote: >> In order to use more common code and set up for a future type, modify the >> encryption secret to allow the "usage" attribute or the "uuid" attribute >> to define the secret. The "usage"

Re: [libvirt] [PATCH v2 04/15] util: Add 'usage' for encryption

2016-06-24 Thread Peter Krempa
On Thu, Jun 23, 2016 at 13:29:00 -0400, John Ferlan wrote: > In order to use more common code and set up for a future type, modify the > encryption secret to allow the "usage" attribute or the "uuid" attribute > to define the secret. The "usage" in the case of a volume secret would be > the path

[libvirt] [PATCH v2 04/15] util: Add 'usage' for encryption

2016-06-23 Thread John Ferlan
In order to use more common code and set up for a future type, modify the encryption secret to allow the "usage" attribute or the "uuid" attribute to define the secret. The "usage" in the case of a volume secret would be the path to the volume. This code will make use of the