Re: [Qemu-devel] [RFC PATCH 2/7] block: Add blk_by_dev()

2016-06-24 Thread Eric Blake
On 06/23/2016 08:36 AM, Kevin Wolf wrote: > This finds a BlockBackend given the device model that is attached to it. > > Signed-off-by: Kevin Wolf > --- > block/block-backend.c | 19 +++ > include/sysemu/block-backend.h | 1 + > 2 files changed, 20 insertions(+) Revie

[Qemu-devel] [RFC PATCH 2/7] block: Add blk_by_dev()

2016-06-23 Thread Kevin Wolf
This finds a BlockBackend given the device model that is attached to it. Signed-off-by: Kevin Wolf --- block/block-backend.c | 19 +++ include/sysemu/block-backend.h | 1 + 2 files changed, 20 insertions(+) diff --git a/block/block-backend.c b/block/block-backend.c ind