Implement the block read function

Signed-off-by: Jon Ludlam <jonathan.ludlam@eu.citrix.com>