On 14.06.19 17:29, Vladimir Sementsov-Ogievskiy wrote: > 13.06.2019 1:09, Max Reitz wrote: >> When looking for a blkdebug node (which implements debug breakpoints), >> use bdrv_primary_bs() to iterate through the graph, because that is >> where a blkdebug node would be. >> >> Signed-off-by: Max Reitz > > Honestly, don't know why blkdebug is always searched in ->file sequence, Usually, blkdebug is just above the protocol node. So $format --file--> $protocol becomes $format --file--> blkdebug --file--> $protocol This is why the existing code generally looks for blkdebug under the ->file link. Max