]> git.proxmox.com Git - mirror_qemu.git/commit
block/backup: Add mirror sync mode 'bitmap'
authorJohn Snow <jsnow@redhat.com>
Mon, 29 Jul 2019 20:35:52 +0000 (16:35 -0400)
committerJohn Snow <jsnow@redhat.com>
Fri, 16 Aug 2019 20:28:02 +0000 (16:28 -0400)
commitc8b56501780615f709d96419fd718ca562d41c46
tree8b52259a49f81a7405f8f94f511892416ad7c14f
parent00a463b1dc73d1665ce6720df4de052aff95acf8
block/backup: Add mirror sync mode 'bitmap'

We don't need or want a new sync mode for simple differences in
semantics.  Create a new mode simply named "BITMAP" that is designed to
make use of the new Bitmap Sync Mode field.

Because the only bitmap sync mode is 'on-success', this adds no new
functionality to the backup job (yet). The old incremental backup mode
is maintained as a syntactic sugar for sync=bitmap, mode=on-success.

Add all of the plumbing necessary to support this new instruction.

Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Message-id: 20190709232550.10724-6-jsnow@redhat.com
Signed-off-by: John Snow <jsnow@redhat.com>
block/backup.c
block/mirror.c
block/replication.c
blockdev.c
include/block/block_int.h
qapi/block-core.json