[Qemu-devel] [PATCH 2/4] block: Use bdrv_is_sg() everywhere

2015-05-08 Thread Dimitris Aragiorgis
Instead of checking bs->sg use bdrv_is_sg() consistently throughout the code. Signed-off-by: Dimitris Aragiorgis --- block.c |6 +++--- block/iscsi.c |2 +- block/raw-posix.c |4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/block.c b/block.c index

Re: [Qemu-devel] [PATCH 2/4] block: Use bdrv_is_sg() everywhere

2015-05-08 Thread Paolo Bonzini
On 08/05/2015 13:38, Dimitris Aragiorgis wrote: > Instead of checking bs->sg use bdrv_is_sg() consistently throughout > the code. > > Signed-off-by: Dimitris Aragiorgis > --- > block.c |6 +++--- > block/iscsi.c |2 +- > block/raw-posix.c |4 ++-- > 3 files changed, 6