]> git.proxmox.com Git - mirror_qemu.git/commit
commit: Implement bdrv_commit_top.bdrv_co_get_block_status
authorKevin Wolf <kwolf@redhat.com>
Wed, 8 Mar 2017 14:07:12 +0000 (15:07 +0100)
committerKevin Wolf <kwolf@redhat.com>
Mon, 13 Mar 2017 11:49:33 +0000 (12:49 +0100)
commit91965658664cc5da412049de0dd309d50ac09917
tree47a71dfa67562574b98ab8b58dca2a01c6facfc7
parentb64aa441955b9aa72a05456650303015ac2bea28
commit: Implement bdrv_commit_top.bdrv_co_get_block_status

In some cases, bdrv_co_get_block_status() is called recursively for the
whole backing chain. The automatically inserted bdrv_commit_top filter
driver must not stop the recursion, so implement a callback that simply
forwards the request to bs->backing.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
block/commit.c