block: Drop permissions when migration completes
commitcfa1a5723f0fc8eb6563fb1d19c206fd5e40cd41
authorKevin Wolf <kwolf@redhat.com>
Thu, 4 May 2017 16:52:38 +0000 (4 18:52 +0200)
committerKevin Wolf <kwolf@redhat.com>
Thu, 11 May 2017 10:08:24 +0000 (11 12:08 +0200)
tree1b9b918ff73c1e5b7504c084ce91f919cdc86a49
parent4417ab7adf1613799054be5afedf810fc2524ee8
block: Drop permissions when migration completes

With image locking, permissions affect other qemu processes as well. We
want to be sure that the destination can run, so let's drop permissions
on the source when migration completes.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
block.c
block/block-backend.c
include/block/block_int.h