On 05/15/2017 03:31 PM, Hervé Poussineau wrote: > - bs->total_sectors is the number of sectors of the whole disk > - s->sector_count is the number of sectors of the FAT partition > > This fixes the following assert in qemu-img map: > qemu-img.c:2641: get_block_status: Assertion `nb_sectors' failed. > > This also fixes an infinite loop in qemu-img convert. > > Fixes: 4480e0f924a42e1db8b8cfcac4d0634dd1bb27a0
Wow - broken since 1.2? Not many vvfat users, are there. Hervé, you might want to work out with Kevin whether to take co-maintainership over vvfat, in addition to your other areas. > Fixes: https://bugs.launchpad.net/qemu/+bug/1599539 > Signed-off-by: Hervé Poussineau <hpous...@reactos.org> CC: qemu-sta...@nongnu.org > --- > block/vvfat.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) Reviewed-by: Eric Blake <ebl...@redhat.com> (I will rebase my work for changing block_status into byte-based on top of this) -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org | libvirt.org
signature.asc
Description: OpenPGP digital signature