Re: [Qemu-devel] [PATCH 02/16] introduce a new API to check if blk is attached

2015-09-02 Thread Eric Blake
On 09/02/2015 02:51 AM, Wen Congyang wrote: > Signed-off-by: Wen Congyang > --- > block.c| 4 ++-- > block/block-backend.c | 9 + > include/sysemu/block-backend.h | 1 + > 3 files changed, 12 insertions(+), 2 deletions(-) > > /* > + * Return true if a d

[Qemu-devel] [PATCH 02/16] introduce a new API to check if blk is attached

2015-09-02 Thread Wen Congyang
Signed-off-by: Wen Congyang --- block.c| 4 ++-- block/block-backend.c | 9 + include/sysemu/block-backend.h | 1 + 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/block.c b/block.c index 0f9029b..aeb365b 100644 --- a/block.c +++ b/block.c