block: implement bdrv_snapshot_goto for blkreplay
commit3c6c4348f23131155846dc53ce19aca309796fda
authorPavel Dovgalyuk <pavel.dovgaluk@ispras.ru>
Tue, 17 Sep 2019 11:57:51 +0000 (17 14:57 +0300)
committerKevin Wolf <kwolf@redhat.com>
Mon, 14 Oct 2019 15:12:48 +0000 (14 17:12 +0200)
tree16a418e813921e08d980fe23c87096833fd5b8cf
parent6caaad46de02c02fb1eeaae64fcdc74f9e0a5eb0
block: implement bdrv_snapshot_goto for blkreplay

This patch enables making snapshots with blkreplay used in
block devices.
This function is required to make bdrv_snapshot_goto without
calling .bdrv_open which is not implemented.

Signed-off-by: Pavel Dovgalyuk <pavel.dovgaluk@ispras.ru>
Acked-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/blkreplay.c