Re: [Qemu-devel] [PATCH] dma-helpers: avoid calling dma_bdrv_unmap() twice

2014-05-23 Thread Paolo Bonzini
Il 23/05/2014 05:44, Jules Wang ha scritto: Calling dma_bdrv_unmap() twice is not necessary and may cause potential problems if some code changes. Signed-off-by: Jules Wang --- dma-helpers.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dma-helpers.c b/dma-helpers.c

[Qemu-devel] [PATCH] dma-helpers: avoid calling dma_bdrv_unmap() twice

2014-05-22 Thread Jules Wang
Calling dma_bdrv_unmap() twice is not necessary and may cause potential problems if some code changes. Signed-off-by: Jules Wang --- dma-helpers.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dma-helpers.c b/dma-helpers.c index 5f421e9..53cbe92 100644 --- a/dma-helpe