Am 14.08.2020 um 10:28 hat Philippe Mathieu-Daudé geschrieben: > Use self-explicit definitions instead of magic '512' value. > > Signed-off-by: Philippe Mathieu-Daudé <f4...@amsat.org>
In this patch, BDRV_SECTOR_SIZE actually looks correct to me. The values have already been converted from s->qdev.blocksize in these instances, so it's not about the sector size of the virtual disk, but purely about QEMU's internal handling. Reviewed-by: Kevin Wolf <kw...@redhat.com>