qapi/block-core: Introduce BackupCommon
commit3c95037aa857e95916b2a91e127ec9b74af8ed05
authorJohn Snow <jsnow@redhat.com>
Mon, 29 Jul 2019 20:35:52 +0000 (29 16:35 -0400)
committerJohn Snow <jsnow@redhat.com>
Fri, 16 Aug 2019 20:28:01 +0000 (16 16:28 -0400)
treeed7858a34f1ade9508382ef003d3ebf8f76a2c7d
parentafd760539308a5524accf964107cdb1d54a059e3
qapi/block-core: Introduce BackupCommon

drive-backup and blockdev-backup have an awful lot of things in common
that are the same. Let's fix that.

I don't deduplicate 'target', because the semantics actually did change
between each structure. Leave that one alone so it can be documented
separately.

Where documentation was not identical, use the most up-to-date version.
For "speed", use Blockdev-Backup's version. For "sync", use
Drive-Backup's version.

Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
[Maintainer edit: modified commit message. --js]
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Message-id: 20190709232550.10724-2-jsnow@redhat.com
Signed-off-by: John Snow <jsnow@redhat.com>
qapi/block-core.json