Re: [Qemu-devel] [PATCH V3 2/3] block: Use bdrv_get_backing_file_ancestors_count()

2012-07-25 Thread Benoît Canet
Le Wednesday 25 Jul 2012 à 10:39:11 (-0600), Eric Blake a écrit : > On 07/25/2012 06:36 AM, benoit.ca...@gmail.com wrote: > > > +++ b/qapi-schema.json > > @@ -398,6 +398,8 @@ > > # > > # @backing_file: #optional the name of the backing file (for copy-on-write) > > # > > +# @backing_file_ancesto

Re: [Qemu-devel] [PATCH V3 2/3] block: Use bdrv_get_backing_file_ancestors_count()

2012-07-25 Thread Benoît Canet
Le Wednesday 25 Jul 2012 à 10:37:53 (-0600), Eric Blake a écrit : > On 07/25/2012 06:36 AM, benoit.ca...@gmail.com wrote: > > From: Benoît Canet > > > > Use the dedicated counting function in qmp_query_block in order to > > propagate the backing file count to HMP. > > > > Signed-off-by: Benoit C

Re: [Qemu-devel] [PATCH V3 2/3] block: Use bdrv_get_backing_file_ancestors_count()

2012-07-25 Thread Eric Blake
On 07/25/2012 06:36 AM, benoit.ca...@gmail.com wrote: > +++ b/qapi-schema.json > @@ -398,6 +398,8 @@ > # > # @backing_file: #optional the name of the backing file (for copy-on-write) > # > +# @backing_file_ancestors_count: #the count of ancestors backing files > (since: 1.2) > +# > # @encrypt

Re: [Qemu-devel] [PATCH V3 2/3] block: Use bdrv_get_backing_file_ancestors_count()

2012-07-25 Thread Eric Blake
On 07/25/2012 06:36 AM, benoit.ca...@gmail.com wrote: > From: Benoît Canet > > Use the dedicated counting function in qmp_query_block in order to > propagate the backing file count to HMP. > > Signed-off-by: Benoit Canet > +++ b/qapi-schema.json > @@ -398,6 +398,8 @@ > # > # @backing_file: #

[Qemu-devel] [PATCH V3 2/3] block: Use bdrv_get_backing_file_ancestors_count()

2012-07-25 Thread benoit . canet
From: Benoît Canet Use the dedicated counting function in qmp_query_block in order to propagate the backing file count to HMP. Signed-off-by: Benoit Canet --- block.c |3 +++ qapi-schema.json |9 ++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/block.c