Revision 0e7e1989 block/vvfat.c
b/block/vvfat.c | ||
---|---|---|
2777 | 2777 |
|
2778 | 2778 |
s->qcow_filename = qemu_malloc(1024); |
2779 | 2779 |
get_tmp_filename(s->qcow_filename, 1024); |
2780 |
if (bdrv_create(bdrv_find_format("qcow"), |
|
2781 |
s->qcow_filename, s->sector_count, "fat:", 0) < 0) |
|
2780 |
if (bdrv_create2(bdrv_find_format("qcow"),
|
|
2781 |
s->qcow_filename, s->sector_count, "fat:", NULL, 0) < 0)
|
|
2782 | 2782 |
return -1; |
2783 | 2783 |
s->qcow = bdrv_new(""); |
2784 | 2784 |
if (s->qcow == NULL || bdrv_open(s->qcow, s->qcow_filename, 0) < 0) |
Also available in: Unified diff