mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 01:33:56 -06:00
qapi: Rename 'dirty-bitmap' mode to 'incremental'
If we wish to make differential backups a feature that's easy to access, it might be pertinent to rename the "dirty-bitmap" mode to "incremental" to make it clear what /type/ of backup the dirty-bitmap is helping us perform. This is an API breaking change, but 2.4 has not yet gone live, so we have this flexibility. Signed-off-by: John Snow <jsnow@redhat.com> Message-id: 1433463642-21840-2-git-send-email-jsnow@redhat.com Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
This commit is contained in:
parent
3e5feb6202
commit
4b80ab2b7d
7 changed files with 22 additions and 22 deletions
|
@ -187,7 +187,7 @@ class TestIncrementalBackup(iotests.QMPTestCase):
|
|||
|
||||
target = self.prepare_backup(bitmap, parent)
|
||||
res = self.do_qmp_backup(device=bitmap.drive['id'],
|
||||
sync='dirty-bitmap', bitmap=bitmap.name,
|
||||
sync='incremental', bitmap=bitmap.name,
|
||||
format=bitmap.drive['fmt'], target=target,
|
||||
mode='existing')
|
||||
if not res:
|
||||
|
@ -325,7 +325,7 @@ class TestIncrementalBackup(iotests.QMPTestCase):
|
|||
self.assert_no_active_block_jobs()
|
||||
self.files.append(self.err_img)
|
||||
result = self.vm.qmp('drive-backup', device=self.drives[0]['id'],
|
||||
sync='dirty-bitmap', format=self.drives[0]['fmt'],
|
||||
sync='incremental', format=self.drives[0]['fmt'],
|
||||
target=self.err_img)
|
||||
self.assert_qmp(result, 'error/class', 'GenericError')
|
||||
|
||||
|
@ -334,7 +334,7 @@ class TestIncrementalBackup(iotests.QMPTestCase):
|
|||
self.assert_no_active_block_jobs()
|
||||
self.files.append(self.err_img)
|
||||
result = self.vm.qmp('drive-backup', device=self.drives[0]['id'],
|
||||
sync='dirty-bitmap', bitmap='unknown',
|
||||
sync='incremental', bitmap='unknown',
|
||||
format=self.drives[0]['fmt'], target=self.err_img)
|
||||
self.assert_qmp(result, 'error/class', 'GenericError')
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue