Re: [Qemu-devel] [PATCH v4 06/38] block: Make bdrv_is_inserted() recursive

2015-09-07 Thread Max Reitz
On 07.09.2015 19:43, Kevin Wolf wrote: > Am 20.07.2015 um 19:45 hat Max Reitz geschrieben: >> If bdrv_is_inserted() is called on the top level BDS, it should make >> sure all nodes in the BDS tree are actually inserted. >> >> Signed-off-by: Max Reitz >> Reviewed-by: Eric Blake >> Reviewed-by: Alb

Re: [Qemu-devel] [PATCH v4 06/38] block: Make bdrv_is_inserted() recursive

2015-09-07 Thread Kevin Wolf
Am 20.07.2015 um 19:45 hat Max Reitz geschrieben: > If bdrv_is_inserted() is called on the top level BDS, it should make > sure all nodes in the BDS tree are actually inserted. > > Signed-off-by: Max Reitz > Reviewed-by: Eric Blake > Reviewed-by: Alberto Garcia > --- > block.c | 7 +++ > 1

[Qemu-devel] [PATCH v4 06/38] block: Make bdrv_is_inserted() recursive

2015-07-20 Thread Max Reitz
If bdrv_is_inserted() is called on the top level BDS, it should make sure all nodes in the BDS tree are actually inserted. Signed-off-by: Max Reitz Reviewed-by: Eric Blake Reviewed-by: Alberto Garcia --- block.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/block.c