[PATCH v2 0/4] backup: discard-source parameter

Vladimir Sementsov-Ogievskiy posted 4 patches 8 months, 1 week ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20240117160737.1057513-1-vsementsov@yandex-team.ru
Maintainers: John Snow <jsnow@redhat.com>, Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>, Kevin Wolf <kwolf@redhat.com>, Hanna Reitz <hreitz@redhat.com>, Wen Congyang <wencongyang2@huawei.com>, Xie Changlong <xiechanglong.d@gmail.com>, Eric Blake <eblake@redhat.com>, Markus Armbruster <armbru@redhat.com>
There is a newer version of this series
block/backup.c                                |   5 +-
block/block-copy.c                            |  15 +-
block/copy-before-write.c                     |  12 +-
block/replication.c                           |   4 +-
blockdev.c                                    |   2 +-
include/block/block-copy.h                    |   3 +-
include/block/block_int-global-state.h        |   2 +-
qapi/block-core.json                          |   4 +
tests/qemu-iotests/257.out                    | 112 ++++++-------
.../qemu-iotests/tests/backup-discard-source  | 151 ++++++++++++++++++
.../tests/backup-discard-source.out           |   5 +
11 files changed, 245 insertions(+), 70 deletions(-)
create mode 100755 tests/qemu-iotests/tests/backup-discard-source
create mode 100644 tests/qemu-iotests/tests/backup-discard-source.out
[PATCH v2 0/4] backup: discard-source parameter
Posted by Vladimir Sementsov-Ogievskiy 8 months, 1 week ago
v2: - now, based on master
    - CBW permissions a bit reworked
    - clamp down length to discard (thanks to Fiona)
    - use modern vm.cmd() in test instead of vm.qmp()

Vladimir Sementsov-Ogievskiy (4):
  block/copy-before-write: fix permission
  block/copy-before-write: create block_copy bitmap in filter node
  qapi: blockdev-backup: add discard-source parameter
  iotests: add backup-discard-source

 block/backup.c                                |   5 +-
 block/block-copy.c                            |  15 +-
 block/copy-before-write.c                     |  12 +-
 block/replication.c                           |   4 +-
 blockdev.c                                    |   2 +-
 include/block/block-copy.h                    |   3 +-
 include/block/block_int-global-state.h        |   2 +-
 qapi/block-core.json                          |   4 +
 tests/qemu-iotests/257.out                    | 112 ++++++-------
 .../qemu-iotests/tests/backup-discard-source  | 151 ++++++++++++++++++
 .../tests/backup-discard-source.out           |   5 +
 11 files changed, 245 insertions(+), 70 deletions(-)
 create mode 100755 tests/qemu-iotests/tests/backup-discard-source
 create mode 100644 tests/qemu-iotests/tests/backup-discard-source.out

-- 
2.34.1