Re: [PATCH v4 2/5] blockdev: unify qmp_drive_backup and drive-backup transaction paths

2019-11-27 Thread Max Reitz
On 21.11.19 14:57, Sergio Lopez wrote: > Issuing a drive-backup from qmp_drive_backup takes a slightly > different path than when it's issued from a transaction. In the code, > this is manifested as some redundancy between do_drive_backup() and > drive_backup_prepare(). > > This change unifies bot

[PATCH v4 2/5] blockdev: unify qmp_drive_backup and drive-backup transaction paths

2019-11-21 Thread Sergio Lopez
Issuing a drive-backup from qmp_drive_backup takes a slightly different path than when it's issued from a transaction. In the code, this is manifested as some redundancy between do_drive_backup() and drive_backup_prepare(). This change unifies both paths, merging do_drive_backup() and drive_backup