]> Git Repo - qemu.git/blobdiff - block/iscsi.c
target-arm: Extend feature flags to 64 bits
[qemu.git] / block / iscsi.c
index ac65277048bad08fa5c57906671f93d36d965e2d..993a86d829fefd03ab8e3f059bd08dff683c9fea 100644 (file)
@@ -247,8 +247,7 @@ iscsi_aio_writev(BlockDriverState *bs, int64_t sector_num,
     /* this will allow us to get rid of 'buf' completely */
     size = nb_sectors * BDRV_SECTOR_SIZE;
     acb->buf = g_malloc(size);
-    qemu_iovec_to_buffer(acb->qiov, acb->buf);
-
+    qemu_iovec_to_buf(acb->qiov, 0, acb->buf, size);
 
     acb->task = malloc(sizeof(struct scsi_task));
     if (acb->task == NULL) {
This page took 0.021901 seconds and 4 git commands to generate.