Re: [Qemu-block] [PATCH v5 19/42] block: Use CAF in bdrv_co_rw_vmstate()

2019-06-14 Thread Vladimir Sementsov-Ogievskiy
13.06.2019 1:09, Max Reitz wrote: > If a node whose driver does not provide VM state functions has a > metadata child, the VM state should probably go there; if it is a > filter, the VM state should probably go there. It follows that we > should generally go down to the primary child. Hmm, as I

[Qemu-block] [PATCH v5 19/42] block: Use CAF in bdrv_co_rw_vmstate()

2019-06-12 Thread Max Reitz
If a node whose driver does not provide VM state functions has a metadata child, the VM state should probably go there; if it is a filter, the VM state should probably go there. It follows that we should generally go down to the primary child. Signed-off-by: Max Reitz --- block/io.c | 5 +++--