aboutsummaryrefslogtreecommitdiff
path: root/.gdbinit
diff options
context:
space:
mode:
authorMax Reitz <mreitz@redhat.com>2019-05-31 15:23:11 +0200
committerKevin Wolf <kwolf@redhat.com>2020-09-07 12:31:30 +0200
commit9a6fc88799cc9a68d2821e49665ca50de75f399c (patch)
treec3072a6da90340dfc703e5463265d06c06e66d43 /.gdbinit
parentb111b3fcdecc7ce441fa6760e116c3c45b4b8133 (diff)
downloadqemu-9a6fc88799cc9a68d2821e49665ca50de75f399c.zip
qemu-9a6fc88799cc9a68d2821e49665ca50de75f399c.tar.gz
qemu-9a6fc88799cc9a68d2821e49665ca50de75f399c.tar.bz2
block: Add child access functions
There are BDS children that the general block layer code can access, namely bs->file and bs->backing. Since the introduction of filters and external data files, their meaning is not quite clear. bs->backing can be a COW source, or it can be a filtered child; bs->file can be a filtered child, it can be data and metadata storage, or it can be just metadata storage. This overloading really is not helpful. This patch adds functions that retrieve the correct child for each exact purpose. Later patches in this series will make use of them. Doing so will allow us to handle filter nodes in a meaningful way. Signed-off-by: Max Reitz <mreitz@redhat.com> Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Diffstat (limited to '.gdbinit')
0 files changed, 0 insertions, 0 deletions