1. 16 3月, 2020 1 次提交
  2. 14 2月, 2020 1 次提交
    • P
      qemu: Add support for slices of type 'storage' · 0e644e6e
      Peter Krempa 提交于
      Implement support for the slice of type 'storage' which allows to set
      the offset and size which modifies where qemu should look for the start
      of the format container inside the image.
      
      Since slicing is done using the 'raw' driver we need to add another
      layer into the blockdev tree if there's any non-raw image format driver
      used to access the data.
      
      This patch adds the blockdev integration and setup of the image data so
      that we can use the slices for any backing image.
      Signed-off-by: NPeter Krempa <pkrempa@redhat.com>
      Reviewed-by: NJán Tomko <jtomko@redhat.com>
      0e644e6e
  3. 04 2月, 2020 3 次提交
  4. 13 12月, 2019 1 次提交
  5. 22 11月, 2019 1 次提交
  6. 21 10月, 2019 1 次提交
  7. 16 10月, 2019 1 次提交
  8. 15 10月, 2019 1 次提交
  9. 06 9月, 2019 2 次提交
  10. 16 8月, 2019 1 次提交
    • P
      qemu: Introduce code for blockdev-create · 545edb25
      Peter Krempa 提交于
      QEMU finally exposes an interface which allows us to instruct it to
      format or create arbitrary images. This is required for blockdev
      integration of block copy and snapshots as we need to pre-format images
      prior to use with blockdev-add.
      
      This path introduces job handling and also helpers for formatting and
      attaching a whole image described by a virStorageSource.
      Signed-off-by: NPeter Krempa <pkrempa@redhat.com>
      Reviewed-by: NJán Tomko <jtomko@redhat.com>
      545edb25
  11. 25 7月, 2019 2 次提交
  12. 18 7月, 2019 4 次提交
  13. 26 6月, 2019 2 次提交
  14. 19 6月, 2019 1 次提交
  15. 10 4月, 2019 1 次提交
  16. 14 12月, 2018 1 次提交
  17. 21 8月, 2018 1 次提交
  18. 20 7月, 2018 1 次提交
  19. 05 6月, 2018 4 次提交
  20. 23 5月, 2018 1 次提交
  21. 07 5月, 2018 2 次提交
  22. 24 11月, 2017 1 次提交
  23. 07 11月, 2017 1 次提交
  24. 27 7月, 2017 2 次提交
    • P
      qemu: block: store and test driver names for detected storage nodes · c03e52af
      Peter Krempa 提交于
      Store the 'drv' field both for the storage node and for the format node
      and format them in the test case.
      Reviewed-by: NEric Blake <eblake@redhat.com>
      c03e52af
    • P
      qemu: block: Refactor node name detection code · 0175dc6e
      Peter Krempa 提交于
      Remove the complex and unreliable code which inferred the node name
      hierarchy only from data returned by 'query-named-block-nodes'. It turns
      out that query-blockstats contain the full hierarchy of nodes as
      perceived by qemu so the inference code is not necessary.
      
      In query blockstats, the 'parent' object corresponds to the storage
      behind a storage volume and 'backing' corresponds to the lower level of
      backing chain. Since all have node names this data can be really easily
      used to detect node names.
      
      In addition to the code refactoring the one remaining test case needed
      to be fixed along.
      Reviewed-by: NEric Blake <eblake@redhat.com>
      0175dc6e
  25. 14 7月, 2017 2 次提交
  26. 27 4月, 2017 1 次提交