qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Max Reitz
Subject: [Qemu-devel] [PATCH 0/2] raw-posix: Fix raw_co_get_block_status()
Date: Mon, 22 Sep 2014 17:23:43 +0200

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(-)

-- 
2.1.0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]