Re: [Qemu-devel] [PATCH v4 14/16] block: Clamp BlockBackend requests

2015-02-13 Thread Stefan Hajnoczi
On Thu, Feb 05, 2015 at 01:58:23PM -0500, Max Reitz wrote: > BlockBackend is used as the interface between the block layer and guest > devices. It should therefore assure that all requests are clamped to the > image size. > > Signed-off-by: Max Reitz > Reviewed-by: Eric Blake > Reviewed-by: Kevi

[Qemu-devel] [PATCH v4 14/16] block: Clamp BlockBackend requests

2015-02-05 Thread Max Reitz
BlockBackend is used as the interface between the block layer and guest devices. It should therefore assure that all requests are clamped to the image size. Signed-off-by: Max Reitz Reviewed-by: Eric Blake Reviewed-by: Kevin Wolf --- block/block-backend.c | 152