Home | History | Annotate | Download | only in block

Lines Matching full:qcow

347     BlockDriverState* qcow;
1025 s->qcow = s->write_target = NULL;
1297 if (s->qcow) {
1299 if (s->qcow->drv->bdrv_is_allocated(s->qcow,
1302 if (s->qcow->drv->bdrv_read(s->qcow, sector_num, buf+i*0x200, n))
1546 if (s->qcow == NULL)
1550 was_modified = s->qcow->drv->bdrv_is_allocated(s->qcow,
1604 * contents of the clusters to-be-overwritten into the qcow.
1623 if (s->qcow) {
1651 if (s->qcow) {
1662 /* was modified in qcow */
1700 if (!s->qcow->drv->bdrv_is_allocated(s->qcow,
1705 if (s->qcow->drv->bdrv_write(s->qcow,
1729 * This function looks at the modified data (qcow).
1895 if (s->qcow)
2643 s->qcow->drv->bdrv_make_empty(s->qcow);
2730 * Use qcow backend. Commit later.
2732 DLOG(fprintf(stderr, "Write to qcow backend: %d + %d\n", (int)sector_num, nb_sectors));
2733 ret = s->qcow->drv->bdrv_write(s->qcow, sector_num, buf, nb_sectors);
2735 fprintf(stderr, "Error writing to qcow backend\n");
2772 bdrv_delete(s->qcow);
2794 bdrv_qcow = bdrv_find_format("qcow");
2801 s->qcow = bdrv_new("");
2802 if (s->qcow == NULL ||
2803 bdrv_open(s->qcow, s->qcow_filename, BDRV_O_RDWR, bdrv_qcow) < 0)