Revision 34b5d2c6 block/qcow2.c

b/block/qcow2.c
1370 1370
        return ret;
1371 1371
    }
1372 1372

  
1373
    ret = bdrv_file_open(&bs, filename, NULL, BDRV_O_RDWR);
1373
    ret = bdrv_file_open(&bs, filename, NULL, BDRV_O_RDWR, NULL);
1374 1374
    if (ret < 0) {
1375 1375
        return ret;
1376 1376
    }
......
1423 1423
    BlockDriver* drv = bdrv_find_format("qcow2");
1424 1424
    assert(drv != NULL);
1425 1425
    ret = bdrv_open(bs, filename, NULL,
1426
        BDRV_O_RDWR | BDRV_O_CACHE_WB | BDRV_O_NO_FLUSH, drv);
1426
        BDRV_O_RDWR | BDRV_O_CACHE_WB | BDRV_O_NO_FLUSH, drv, NULL);
1427 1427
    if (ret < 0) {
1428 1428
        goto out;
1429 1429
    }

Also available in: Unified diff