Re: [Qemu-devel] [PATCH RFC 7/7] nbd/replication: implement .bdrv_get_info() for nbd and replication driver

2016-10-23 Thread Hailiang Zhang
Hi, On 2016/10/20 23:34, Eric Blake wrote: On 10/20/2016 08:57 AM, zhanghailiang wrote: Without this callback, there will be an error reports in the primary side: "qemu-system-x86_64: Couldn't determine the cluster size of the target image, which has no backing file: Operation not supported Abo

Re: [Qemu-devel] [PATCH RFC 7/7] nbd/replication: implement .bdrv_get_info() for nbd and replication driver

2016-10-20 Thread Eric Blake
On 10/20/2016 08:57 AM, zhanghailiang wrote: > Without this callback, there will be an error reports in the primary side: > "qemu-system-x86_64: Couldn't determine the cluster size of the target image, > which has no backing file: Operation not supported > Aborting, since this may create an unusabl

[Qemu-devel] [PATCH RFC 7/7] nbd/replication: implement .bdrv_get_info() for nbd and replication driver

2016-10-20 Thread zhanghailiang
Without this callback, there will be an error reports in the primary side: "qemu-system-x86_64: Couldn't determine the cluster size of the target image, which has no backing file: Operation not supported Aborting, since this may create an unusable destination image" For nbd driver, it doesn't have