diff options
author | Markus Armbruster <armbru@redhat.com> | 2014-06-26 13:23:21 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2014-08-15 15:07:13 +0200 |
commit | 43716fa8058a9095b9c1f9be4397dbaf7c521ee0 (patch) | |
tree | dd3c9d56991cf83995e707230e59fde41e10776a /block-migration.c | |
parent | 30a7f2fc9178080a0ce22c12767ce994f882937e (diff) |
block: Use bdrv_nb_sectors() in img_convert()
Instead of bdrv_getlength(). Replace variable output_length by
output_sectors.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Benoit Canet <benoit@irqsave.net>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'block-migration.c')
0 files changed, 0 insertions, 0 deletions