Re: [PATCH for-5.0? v3] qemu-img: Report convert errors by bytes, not sectors

2020-04-03 Thread Max Reitz
On 02.04.20 15:57, Eric Blake wrote: > Various qemu-img commands are inconsistent on whether they report > status/errors in terms of bytes or sector offsets. The latter is > confusing (especially as more places move to 4k block sizes), so let's > switch everything to just use bytes everywhere. On

Re: [PATCH for-5.0? v3] qemu-img: Report convert errors by bytes, not sectors

2020-04-02 Thread Philippe Mathieu-Daudé
On 4/2/20 3:57 PM, Eric Blake wrote: Various qemu-img commands are inconsistent on whether they report status/errors in terms of bytes or sector offsets. The latter is confusing (especially as more places move to 4k block sizes), so let's switch everything to just use bytes everywhere. One iote

[PATCH for-5.0? v3] qemu-img: Report convert errors by bytes, not sectors

2020-04-02 Thread Eric Blake
Various qemu-img commands are inconsistent on whether they report status/errors in terms of bytes or sector offsets. The latter is confusing (especially as more places move to 4k block sizes), so let's switch everything to just use bytes everywhere. One iotest is impacted. Signed-off-by: Eric Bl