diff options
author | Changlong Xie <xiecl.fnst@cn.fujitsu.com> | 2017-03-14 19:46:52 +0800 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2017-03-17 12:54:06 +0100 |
commit | 37a9051cc7d30672216af5f6620af1da122f66b3 (patch) | |
tree | 72a37f432d9489dbb913bcc4149253b0f466e611 /block/file-posix.c | |
parent | 69583490856713f693291b32fc74b6d0f5992b72 (diff) | |
download | qemu-37a9051cc7d30672216af5f6620af1da122f66b3.zip qemu-37a9051cc7d30672216af5f6620af1da122f66b3.tar.gz qemu-37a9051cc7d30672216af5f6620af1da122f66b3.tar.bz2 |
replication: clarify permissions
Even if hidden_disk, secondary_disk are backing files, they all need
write permissions in replication scenario. Otherwise we will encouter
below exceptions on secondary side during adding nbd server:
{'execute': 'nbd-server-add', 'arguments': {'device': 'colo-disk', 'writable': true } }
{"error": {"class": "GenericError", "desc": "Conflicts with use by hidden-qcow2-driver as 'backing', which does not allow 'write' on sec-qcow2-driver-for-nbd"}}
CC: Zhang Hailiang <zhang.zhanghailiang@huawei.com>
CC: Zhang Chen <zhangchen.fnst@cn.fujitsu.com>
CC: Wen Congyang <wencongyang2@huawei.com>
Signed-off-by: Changlong Xie <xiecl.fnst@cn.fujitsu.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block/file-posix.c')
0 files changed, 0 insertions, 0 deletions