Re: [Qemu-devel] [PATCH v2 1/5] block: Change bdrv_get_encrypted_filename()

2015-08-07 Thread Max Reitz
On 06.08.2015 04:01, Wen Congyang wrote: On 08/06/2015 04:52 AM, Max Reitz wrote: Instead of returning a pointer to the filename, copy it into a buffer specified by the caller. Signed-off-by: Max Reitz mre...@redhat.com --- block.c | 24 +---

[Qemu-devel] [PATCH v2 1/5] block: Change bdrv_get_encrypted_filename()

2015-08-05 Thread Max Reitz
Instead of returning a pointer to the filename, copy it into a buffer specified by the caller. Signed-off-by: Max Reitz mre...@redhat.com --- block.c | 24 +--- include/block/block.h | 2 +- monitor.c | 4 +++- 3 files changed, 21 insertions(+), 9

Re: [Qemu-devel] [PATCH v2 1/5] block: Change bdrv_get_encrypted_filename()

2015-08-05 Thread Wen Congyang
On 08/06/2015 04:52 AM, Max Reitz wrote: Instead of returning a pointer to the filename, copy it into a buffer specified by the caller. Signed-off-by: Max Reitz mre...@redhat.com --- block.c | 24 +--- include/block/block.h | 2 +- monitor.c