-
Kevin Wolf authored
Instead of manually calling blk_resume_after_migration() in migration code after doing bdrv_invalidate_cache_all(), integrate the BlockBackend activation with cache invalidation into a single function. This is achieved with a new callback in BdrvChildRole that is called by bdrv_invalidate_cache_all(). Signed-off-by:
Kevin Wolf <kwolf@redhat.com>
Reviewed-by:
Eric Blake <eblake@redhat.com>Kevin Wolf authoredInstead of manually calling blk_resume_after_migration() in migration code after doing bdrv_invalidate_cache_all(), integrate the BlockBackend activation with cache invalidation into a single function. This is achieved with a new callback in BdrvChildRole that is called by bdrv_invalidate_cache_all(). Signed-off-by:
Kevin Wolf <kwolf@redhat.com>
Reviewed-by:
Eric Blake <eblake@redhat.com>
Loading