OSDN Git Service

migration: Document handling of bdrv_is_allocated() errors
authorEric Blake <eblake@redhat.com>
Wed, 8 Mar 2017 21:34:29 +0000 (15:34 -0600)
committerKevin Wolf <kwolf@redhat.com>
Mon, 13 Mar 2017 11:49:33 +0000 (12:49 +0100)
commit7d66b1fbd2112a0c1433ad7106d74c7c39e57f5f
tree1dec0bf7c29b327a9109adc2611274fa9fd268b9
parent6f712ee08036f4e8066cdddcfed288bf01914e55
migration: Document handling of bdrv_is_allocated() errors

Migration is the only code left in the tree that does not react
to bdrv_is_allocated() failures.  But as there is no useful way
to react to the failure, and we are merely skipping unallocated
sectors on success, just document that our choice of handling
is intended.

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