You need to sign in or sign up before continuing.
  1. 17 3月, 2020 1 次提交
  2. 09 3月, 2020 1 次提交
    • M
      qemu: Tell secdrivers which images are top parent · 13eb6c14
      Michal Privoznik 提交于
      When preparing images for block jobs we modify their seclabels so
      that QEMU can open them. However, as mentioned in the previous
      commit, secdrivers base some it their decisions whether the image
      they are working on is top of of the backing chain. Fortunately,
      in places where we call secdrivers we know this and the
      information can be passed to secdrivers.
      
      The problem is the following: after the first blockcommit from
      the base to one of the parents the XATTRs on the base image are
      not cleared and therefore the second attempt to do another
      blockcommit fails. This is caused by blockcommit code calling
      qemuSecuritySetImageLabel() over the base image, possibly
      multiple times (to ensure RW/RO access). A naive fix would be to
      call the restore function. But this is not possible, because that
      would deny QEMU the access to the base image.  Fortunately, we
      can use the fact that seclabels are remembered only for the top
      of the backing chain and not for the rest of the backing chain.
      And thanks to the previous commit we can tell secdrivers which
      images are top of the backing chain.
      
      Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1803551Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      Reviewed-by: NPeter Krempa <pkrempa@redhat.com>
      13eb6c14
  3. 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
  4. 04 2月, 2020 2 次提交
  5. 06 1月, 2020 3 次提交
  6. 11 12月, 2019 2 次提交
  7. 10 12月, 2019 3 次提交
  8. 09 12月, 2019 1 次提交
  9. 27 11月, 2019 8 次提交
  10. 22 11月, 2019 1 次提交
  11. 14 11月, 2019 1 次提交
  12. 12 11月, 2019 1 次提交
  13. 25 10月, 2019 2 次提交
  14. 21 10月, 2019 2 次提交
  15. 16 10月, 2019 5 次提交
  16. 15 10月, 2019 1 次提交
  17. 25 9月, 2019 1 次提交
  18. 16 9月, 2019 1 次提交
  19. 31 8月, 2019 3 次提交