1. 30 3月, 2020 2 次提交
  2. 24 3月, 2020 7 次提交
  3. 20 3月, 2020 3 次提交
  4. 19 3月, 2020 1 次提交
  5. 17 3月, 2020 4 次提交
  6. 16 3月, 2020 6 次提交
  7. 04 3月, 2020 1 次提交
  8. 14 2月, 2020 4 次提交
  9. 11 2月, 2020 2 次提交
  10. 04 2月, 2020 4 次提交
  11. 24 1月, 2020 1 次提交
    • P
      qemu: block: Don't skip creation of 'luks' formatted images · f4e7c792
      Peter Krempa 提交于
      libvirt treats 'luks' images as raw+encryption. The logic in
      qemuBlockStorageSourceCreateFormat skipped the creation if the requested
      image was raw but didn't take into account the encryption.
      
      This manifested itself e.g. when attempting to do a virsh blockcopy with
      the following XML:
      
          <disk type='file' device='disk'>
            <driver name='qemu' type='raw'/>
            <source file='/tmp/enccpy'>
              <encryption format='luks'>
                <secret type='passphrase' uuid='0a81f5b2-8403-7b23-c8d6-21ccc2f80d6f'/>
              </encryption>
            </source>
          </disk>
      
      Where qemu would report the following error:
      
       unable to execute QEMU command 'blockdev-add': Volume is not in LUKS format
      
      rather than actually formatting the image first.
      Signed-off-by: NPeter Krempa <pkrempa@redhat.com>
      Reviewed-by: NEric Blake <eblake@redhat.com>
      f4e7c792
  12. 06 1月, 2020 1 次提交
  13. 17 12月, 2019 2 次提交
  14. 13 12月, 2019 1 次提交
  15. 22 11月, 2019 1 次提交
    • D
      util: consolidate on one free callback for hash data · bc7e7291
      Daniel P. Berrangé 提交于
      This previous commit introduced a simpler free callback for
      hash data with only 1 arg, the value to free:
      
        commit 49288fac
        Author: Peter Krempa <pkrempa@redhat.com>
        Date:   Wed Oct 9 15:26:37 2019 +0200
      
          util: hash: Add possibility to use simpler data free function in virHash
      
      It missed two functions in the hash table code which need
      to call the alternate data free function, virHashRemoveEntry
      and virHashRemoveSet.
      
      After the previous patch though, there is no code that
      makes functional use of the 2nd key arg in the data
      free function. There is merely one log message that can
      be dropped.
      
      We can thus purge the current virHashDataFree callback
      entirely, and rename virHashDataFreeSimple to replace
      it.
      Reviewed-by: NMichal Privoznik <mprivozn@redhat.com>
      Signed-off-by: NDaniel P. Berrangé <berrange@redhat.com>
      bc7e7291