Displaying 1 result from an estimated 1 matches for "hd_aiocb".
2012 Dec 19
3
!!!!!help!I wouldn't be able to meet the deadline!(qcow format image file read operation in qemu-img-xen)[updated]
...unning .
Now what I concern is the following (which is in the /xen-4.1.2/tools/ioemu-qemu-xen/block-qcow.c) :
static void qcow_aio_read_cb(void *opaque, int ret)
{
........
if (!acb->cluster_offset) {
if (bs->backing_hd) {
/* read from the base image */
acb->hd_aiocb = bdrv_aio_read(bs->backing_hd, //*************
acb->sector_num, acb->buf, acb->n, qcow_aio_read_cb, acb); //**************
//I read what the acb->buf points to, but find the reading operation is not finished.
if (acb->hd_ai...