Re: [Qemu-devel] [PATCH v4 4/6] qemu-img: Use bdrv_filename_alloc() for map

2015-08-31 Thread Eric Blake
On 08/18/2015 05:10 PM, Max Reitz wrote: > Replaces bs->filename by the result of bdrv_filename_alloc() in the > qemu-img map subcommand. Since that value is queried relatively often, > however, it should be cached. > > Signed-off-by: Max Reitz > --- > qemu-img.c | 14 +- > 1 file ch

[Qemu-devel] [PATCH v4 4/6] qemu-img: Use bdrv_filename_alloc() for map

2015-08-18 Thread Max Reitz
Replaces bs->filename by the result of bdrv_filename_alloc() in the qemu-img map subcommand. Since that value is queried relatively often, however, it should be cached. Signed-off-by: Max Reitz --- qemu-img.c | 14 +- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/qemu