]> git.proxmox.com Git - mirror_qemu.git/commit
migration/block: Use real permissions
authorKevin Wolf <kwolf@redhat.com>
Thu, 9 Feb 2017 13:45:37 +0000 (14:45 +0100)
committerKevin Wolf <kwolf@redhat.com>
Tue, 28 Feb 2017 19:47:50 +0000 (20:47 +0100)
commit6f5ef23a3ff09919b73eef8196969685cb2383ee
treea7127f58abc2a2a2b7a16f83dbbe7746d5b75d65
parent887354bd13ecb7ff68ec26892806c97512b77877
migration/block: Use real permissions

Request BLK_PERM_CONSISTENT_READ for the source of block migration, and
handle potential permission errors as good as we can in this place
(which is not very good, but it matches the other failure cases).

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Acked-by: Fam Zheng <famz@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
migration/block.c