On 6/15/20 12:10 PM, Peter Krempa wrote:
The 'snapshots' case has multiple layers so we need to make sure that
the bitmaps are merged with the appropriate temporary bitmaps formatted
from the allocation bitmap for any backing chain layer above.

Signed-off-by: Peter Krempa <[email protected]>
---
  tests/qemublocktest.c                         |  4 ++
  .../backupmerge/snapshots-deep-out.json       | 41 +++++++++++++++++++
  .../backupmerge/snapshots-flat-out.json       | 25 +++++++++++
  .../snapshots-intermediate-out.json           | 29 +++++++++++++
  4 files changed, 99 insertions(+)
  create mode 100644 tests/qemublocktestdata/backupmerge/snapshots-deep-out.json
  create mode 100644 tests/qemublocktestdata/backupmerge/snapshots-flat-out.json
  create mode 100644 
tests/qemublocktestdata/backupmerge/snapshots-intermediate-out.json


Reviewed-by: Eric Blake <[email protected]>

--
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3226
Virtualization:  qemu.org | libvirt.org

Reply via email to