OSDN Git Service

block: Use CAFs for debug breakpoints
authorMax Reitz <mreitz@redhat.com>
Wed, 12 Jun 2019 15:42:13 +0000 (17:42 +0200)
committerKevin Wolf <kwolf@redhat.com>
Mon, 7 Sep 2020 10:31:31 +0000 (12:31 +0200)
commitf706a92f249b573c624fa5a8067fa1c6636a6ae0
treeac5fa8130ddeb3a809c18a3bd072ce8b0f7231ee
parentc8af87573f90e6b2ce828177664ea552efe2b249
block: Use CAFs for debug breakpoints

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 <mreitz@redhat.com>
Reviewed-by: Andrey Shinkevich <andrey.shinkevich@virtuozzo.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
block.c