Re: [Qemu-devel] [PATCH v5 2/8] fw_cfg: add write callback

2017-09-08 Thread Michael S. Tsirkin
On Mon, Aug 07, 2017 at 08:16:12PM +0200, Marc-André Lureau wrote: > Reintroduce the write callback that was removed when write support was > removed in commit 023e3148567ac898c7258138f8e86c3c2bb40d07. > > The write_cb callback is called when a write reaches the end of file, > that is when the wri

[Qemu-devel] [PATCH v5 2/8] fw_cfg: add write callback

2017-08-07 Thread Marc-André Lureau
Reintroduce the write callback that was removed when write support was removed in commit 023e3148567ac898c7258138f8e86c3c2bb40d07. The write_cb callback is called when a write reaches the end of file, that is when the write pointer/offset reaches the size of the file. Signed-off-by: Marc-André Lu