Message ID | 20200310113831.27293-1-kwolf@redhat.com (mailing list archive) |
---|---|
Headers | show |
Series | block: Relax restrictions for blockdev-snapshot | expand |
Am 10.03.2020 um 12:38 hat Kevin Wolf geschrieben: > This series allows libvirt to fix a regression that its switch from > drive-mirror to blockdev-mirror caused: It currently requires that the > backing chain of the target image is already available when the mirror > operation is started. > > In reality, the backing chain may only be copied while the operation is > in progress, so the backing file of the target image needs to stay > disabled until the operation completes and should be attached only at > that point. Without this series, we don't have a supported API to attach > the backing file at that later point. > > v2: > - Added a fix and test case for iothreads [Peter] > - Added a blockdev-snapshot feature flag to indicate that it's usable > for attaching a backing chain to an overlay that is already in > write-only use (e.g. as a mirror target) [Peter] Thanks for review and testing, applied to the block branch. Kevin