Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid divide by zero when there is no block device to migrate
When block migration is requested and no read-write block device is present, a divide by zero exception is triggered because total_sector_sum equals zero. Signed-off-by: Pierre Riteau <Pierre.Riteau@irisa.fr> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
- Loading branch information