1. 27 7月, 2016 5 次提交
  2. 19 7月, 2016 2 次提交
    • J
      storage: Add support to create a luks volume · 5e46d7d6
      John Ferlan 提交于
      Partially resolves:
      https://bugzilla.redhat.com/show_bug.cgi?id=1301021
      
      If the volume xml was looking to create a luks volume take the necessary
      steps in order to make that happen.
      
      The processing will be:
       1. create a temporary file (virStorageBackendCreateQemuImgSecretPath)
         1a. use the storage driver state dir path that uses the pool and
             volume name as a base.
      
       2. create a secret object (virStorageBackendCreateQemuImgSecretObject)
         2a. use an alias combinding the volume name and "_luks0"
         2b. add the file to the object
      
       3. create/add luks options to the commandline (virQEMUBuildLuksOpts)
         3a. at the very least a "key-secret=%s" using the secret object alias
         3b. if found in the XML the various "cipher" and "ivgen" options
      Signed-off-by: NJohn Ferlan <jferlan@redhat.com>
      5e46d7d6
    • J
      qemu: Move and rename qemuBufferEscapeComma · 8215aab0
      John Ferlan 提交于
      Move to virqemu and rename to virQEMUBuildBufferEscapeComma. This can then
      be shared by the storage driver when it builds the command line for qemuimg
      8215aab0
  3. 07 6月, 2016 1 次提交