search for: sector_num

Displaying 2 results from an estimated 2 matches for "sector_num".

Did you mean: sector_nr
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]
...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_aiocb == NULL) goto fail; } else { /* Note: in this case, no need to wait */...
2013 May 24
0
Re: [Qemu-devel] use O_DIRECT to open disk images for IDE failed under xen-4.1.2 and qemu upstream
...)) { //if the address is > > aligned-512, will no meet the conditions > > > type |= QEMU_AIO_MISALIGNED; > > > #ifdef CONFIG_LINUX_AIO > > > } else if (s->use_aio) { > > > return laio_submit(bs, s->aio_ctx, s->fd, sector_num, qiov, > > > nb_sectors, cb, opaque, type); > > > #endif > > > > > > Next process: > > > static ssize_t handle_aiocb_rw(struct qemu_paiocb *aiocb) > > > { > > > ssize_t nbytes; > > > char...