[Qemu-devel] [PATCH 2/2] block: Fix bs-request_alignment assertion for bs-sg=1

2014-03-05 Thread Kevin Wolf
For sg backends, bs-request_alignment is meaningless and may be 0. Signed-off-by: Kevin Wolf kw...@redhat.com --- block.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/block.c b/block.c index 38bbdf3..f01b91c 100644 --- a/block.c +++ b/block.c @@ -935,7 +935,7 @@ static int

Re: [Qemu-devel] [PATCH 2/2] block: Fix bs-request_alignment assertion for bs-sg=1

2014-03-05 Thread Benoît Canet
The Wednesday 05 Mar 2014 à 16:00:49 (+0100), Kevin Wolf wrote : For sg backends, bs-request_alignment is meaningless and may be 0. Signed-off-by: Kevin Wolf kw...@redhat.com --- block.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/block.c b/block.c index