Re: [PATCH 3/6] sysemu/block-backend: Document blk_read()/blk_pwrite()

2020-05-07 Thread Stefan Hajnoczi
On Mon, May 04, 2020 at 11:46:38AM +0200, Philippe Mathieu-Daudé wrote: > + > +/** > + * blk_pread: > + * > + * @blk - the block backend where the buffer content is going to be read from s/ - /: / > + > +/** > + * blk_pwrite: > + * > + * @blk - the block backend where the buffer content is going

[PATCH 3/6] sysemu/block-backend: Document blk_read()/blk_pwrite()

2020-05-04 Thread Philippe Mathieu-Daudé
The blk_read()/blk_pwrite() return value is not obvious, document it. Signed-off-by: Philippe Mathieu-Daudé --- include/sysemu/block-backend.h | 24 1 file changed, 24 insertions(+) diff --git a/include/sysemu/block-backend.h b/include/sysemu/block-backend.h index f2dcf