Re: [Qemu-devel] [PATCH 4/6] block: Make bdrv_load/save_vmstate coroutine_fns

2016-06-10 Thread Eric Blake
On 06/10/2016 10:05 AM, Kevin Wolf wrote: > This allows drivers to share code between normal I/O and vmstate > accesses. > > Signed-off-by: Kevin Wolf > --- > block/io.c| 80 > ++- > include/block/block_int.h | 10 +++--- > 2 files cha

[Qemu-devel] [PATCH 4/6] block: Make bdrv_load/save_vmstate coroutine_fns

2016-06-10 Thread Kevin Wolf
This allows drivers to share code between normal I/O and vmstate accesses. Signed-off-by: Kevin Wolf --- block/io.c| 80 ++- include/block/block_int.h | 10 +++--- 2 files changed, 64 insertions(+), 26 deletions(-) diff --git a/block/i