qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [COMMIT c53ffce] qcow1: Fix qcow_aio_writev


From: Anthony Liguori
Subject: [Qemu-commits] [COMMIT c53ffce] qcow1: Fix qcow_aio_writev
Date: Fri, 10 Jul 2009 20:40:30 -0000

From: Kevin Wolf <address@hidden>

Pass is_write = 1 to qcow_aio_setup when writing.

Signed-off-by: Kevin Wolf <address@hidden>
Signed-off-by: Anthony Liguori <address@hidden>

diff --git a/block/qcow.c b/block/qcow.c
index 55a68a6..7fc85ae 100644
--- a/block/qcow.c
+++ b/block/qcow.c
@@ -723,7 +723,7 @@ static BlockDriverAIOCB *qcow_aio_writev(BlockDriverState 
*bs,
 
     s->cluster_cache_offset = -1; /* disable compressed cache */
 
-    acb = qcow_aio_setup(bs, sector_num, qiov, nb_sectors, cb, opaque, 0);
+    acb = qcow_aio_setup(bs, sector_num, qiov, nb_sectors, cb, opaque, 1);
     if (!acb)
         return NULL;
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]