OSDN Git Service

block/io: bdrv_common_block_status_above: support include_base
authorVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Thu, 24 Sep 2020 19:40:00 +0000 (22:40 +0300)
committerStefan Hajnoczi <stefanha@redhat.com>
Fri, 23 Oct 2020 12:42:16 +0000 (13:42 +0100)
commit3555a43261ac0010a34377d0db804d194145511c
treed48882ce83236a2671813de75dcdfc340e5b9c4c
parent67c095c8b8097748edf6c4521d8eb6cfc4d2a0ef
block/io: bdrv_common_block_status_above: support include_base

In order to reuse bdrv_common_block_status_above in
bdrv_is_allocated_above, let's support include_base parameter.

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Reviewed-by: Alberto Garcia <berto@igalia.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-id: 20200924194003.22080-3-vsementsov@virtuozzo.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
block/coroutines.h
block/io.c