migration: refactor init_dirty_bitmap_migration
commit38908bbc65bcabf110dcc87a84c518e3e6d9a183
authorVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Thu, 21 May 2020 22:06:43 +0000 (22 01:06 +0300)
committerEric Blake <eblake@redhat.com>
Thu, 28 May 2020 18:15:22 +0000 (28 13:15 -0500)
treed43a2dbda4e3f4ba8660df3a69675fc24d97fd5f
parenta20ab81d22300cca80325c284f21eefee99aa740
migration: refactor init_dirty_bitmap_migration

Split out handling one bs, it is needed for the following commit, which
will handle BlockBackends separately.

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20200521220648.3255-2-vsementsov@virtuozzo.com>
[eblake: shorter subject line]
Signed-off-by: Eric Blake <eblake@redhat.com>
migration/block-dirty-bitmap.c