Home
last modified time | relevance | path

Searched refs:qcow_blk (Results 1 – 1 of 1) sorted by relevance

/openbmc/qemu/block/
H A Dqcow.c820 BlockBackend *qcow_blk; in qcow_co_create() local
846 qcow_blk = blk_co_new_with_bs(bs, BLK_PERM_WRITE | BLK_PERM_RESIZE, in qcow_co_create()
848 if (!qcow_blk) { in qcow_co_create()
852 blk_set_allow_write_beyond_eof(qcow_blk, true); in qcow_co_create()
898 ret = blk_co_pwrite(qcow_blk, 0, sizeof(header), &header, 0); in qcow_co_create()
904 ret = blk_co_pwrite(qcow_blk, sizeof(header), backing_filename_len, in qcow_co_create()
914 ret = blk_co_pwrite(qcow_blk, header_size + BDRV_SECTOR_SIZE * i, in qcow_co_create()
925 blk_co_unref(qcow_blk); in qcow_co_create()