Skip to content

raw-posix: Fix raw_co_get_block_status()

Max Reitz qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2raw-posix: Fix raw_co_get_block_status() after EOFblock/raw-posix.c+6 -21 reply
2/2raw-posix: raw_co_get_block_status() return valueblock/raw-posix.c+10 -101 reply

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchBenoît Canet
1/2R-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/2] raw-posix: Fix raw_co_get_block_status()

raw_co_get_block_status() should return 0 and set *pnum to 0 after the EOF; currently it does this merely by accident, so implement it directly.

While doing that, centralize the generation of raw_co_get_block_status()'s return value along the way.

Max Reitz (2):
raw-posix: Fix raw_co_get_block_status() after EOF
raw-posix: raw_co_get_block_status() return value

 block/raw-posix.c | 28 ++++++++++++++++------------
 1 file changed, 16 insertions(+), 12 deletions(-)
Signature · 1 line
2.1.0