qemu-block
[Top][All Lists]
Advanced

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

[Qemu-block] [PATCH V4 6/6] ide: enable buffered requests for PIO read r


From: Peter Lieven
Subject: [Qemu-block] [PATCH V4 6/6] ide: enable buffered requests for PIO read requests
Date: Thu, 12 Nov 2015 17:30:46 +0100

Signed-off-by: Peter Lieven <address@hidden>
---
 hw/ide/core.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/hw/ide/core.c b/hw/ide/core.c
index 7ca67bc..b9b531c 100644
--- a/hw/ide/core.c
+++ b/hw/ide/core.c
@@ -677,8 +677,8 @@ static void ide_sector_read(IDEState *s)
 
     block_acct_start(blk_get_stats(s->blk), &s->acct,
                      n * BDRV_SECTOR_SIZE, BLOCK_ACCT_READ);
-    s->pio_aiocb = blk_aio_readv(s->blk, sector_num, &s->qiov, n,
-                                 ide_sector_read_cb, s);
+    s->pio_aiocb = ide_buffered_readv(s, sector_num, &s->qiov, n,
+                                      ide_sector_read_cb, s);
 }
 
 void dma_buf_commit(IDEState *s, uint32_t tx_bytes)
-- 
1.9.1




reply via email to

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