]> git.proxmox.com Git - mirror_qemu.git/commit
mirror: Fix permission problem with 'replaces'
authorKevin Wolf <kwolf@redhat.com>
Thu, 2 Mar 2017 16:48:14 +0000 (17:48 +0100)
committerKevin Wolf <kwolf@redhat.com>
Tue, 7 Mar 2017 13:53:28 +0000 (14:53 +0100)
commit7d9fcb391c7898fb1417d84eba41d3d48bd76605
tree10ce9f7b702711f18a1ac80549144ba097bd90c7
parentb247767aacdc2cfba94050c901aec268be94cc2d
mirror: Fix permission problem with 'replaces'

The 'replaces' option of drive-mirror can be used to mirror a Quorum
node to a new image and then let the target image replace one of the
Quorum children. In order for this graph modification to succeed, the
mirror job needs to lift its restrictions on the target node first
before actually replacing the child.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
block/mirror.c