1. 28 8月, 2019 2 次提交
  2. 22 8月, 2019 1 次提交
  3. 21 8月, 2019 6 次提交
  4. 16 8月, 2019 5 次提交
  5. 12 8月, 2019 1 次提交
  6. 09 8月, 2019 3 次提交
  7. 07 8月, 2019 2 次提交
  8. 06 8月, 2019 2 次提交
  9. 29 7月, 2019 5 次提交
    • E
      backup: Wire up qemu checkpoint commands over QMP · 3a204b03
      Eric Blake 提交于
      Time to actually issue the QMP transactions that create and delete
      persistent checkpoints, resolving TODOs intentionally left earlier in
      the series.  For create, we only need one transaction: inside, we
      visit all disks affected by the checkpoint, and create a new enabled
      bitmap, as well as disabling the bitmap of the first ancestor
      checkpoint (if any) that also had a bitmap.  For deletion, we need
      multiple QMP calls: for each disk, if there is an ancestor checkpoint
      with a bitmap, then the bitmap must be merged (including activating
      the ancestor bitmap if the leaf node changes), all before deleting the
      bitmap from the checkpoint being removed.
      Signed-off-by: NEric Blake <eblake@redhat.com>
      3a204b03
    • E
      backup: qemu: Add helper API for looking up node name · e3a4b8f4
      Eric Blake 提交于
      Qemu bitmap operations require knowing the node name associated with
      the format layer (the qcow2 file); as upcoming patches will be
      grabbing that information frequently, make a helper function to access
      it.
      
      Another potential benefit of this function is that we have a single
      place where we could insert a QMP node-name scraping call if we don't
      currently know the node name, when -blockdev is not supported;
      however, the goal is that we hopefully don't ever have to do that
      because we instead scrape node names only at the point where they
      change.
      Signed-off-by: NEric Blake <eblake@redhat.com>
      Reviewed-by: NDaniel P. Berrangé <berrange@redhat.com>
      e3a4b8f4
    • E
      backup: qemu: Implement metadata tracking for checkpoint APIs · 5f4e0796
      Eric Blake 提交于
      A lot of this work heavily copies from the existing snapshot APIs.
      What's more, this patch is (intentionally) very similar to the
      checkpoint code just added in the test driver, to the point that qemu
      checkpoints are not fully usable in this patch, but it at least
      bisects and builds cleanly.  The separation between patches is done
      because the grunt work of saving and restoring XML and tracking
      relations between checkpoints is common to the test driver, while the
      later patch adding integration with QMP is specific to qemu.
      
      Also note that the interlocking to prevent checkpoints and snapshots
      from existing at the same time will be a separate patch, to make it
      easier to revert that restriction when we finally round out the design
      for supporting interaction between the two concepts.
      Signed-off-by: NEric Blake <eblake@redhat.com>
      5f4e0796
    • P
      qemu: Add -blockdev support for block commit job · 3f93884a
      Peter Krempa 提交于
      Introduce the handler for finalizing a block commit and active bloc
      commit job which will allow to use it with blockdev.
      Signed-off-by: NPeter Krempa <pkrempa@redhat.com>
      Reviewed-by: NJán Tomko <jtomko@redhat.com>
      3f93884a
    • P
      qemu: Add -blockdev support for block pull job · 1bf38082
      Peter Krempa 提交于
      Introduce the handler for finalizing a block pull job which will allow
      to use it with blockdev.
      
      This patch also contains some additional machinery which is required to
      store all the relevant job data in the status XML which will also be
      reused with other block job types.
      Signed-off-by: NPeter Krempa <pkrempa@redhat.com>
      Reviewed-by: NJán Tomko <jtomko@redhat.com>
      1bf38082
  10. 25 7月, 2019 1 次提交
  11. 18 7月, 2019 9 次提交
  12. 16 7月, 2019 1 次提交
  13. 15 7月, 2019 2 次提交