def METHOD_NAME(tmp_basedir, tmpdir):
    src = str(tmpdir.join("src.qcow2"))
    qemuimg.create(src, size=10 * MiB, format="qcow2", qcow2Compat="1.1").run()
    res = transientdisk.create_disk(
        "backup-id",
        "overlay.qcow2",
        backing=src,
        backing_format="qcow2")
    disk_path = res['path']
    disk_info = qemuimg.info(disk_path)
    assert disk_info['format'] == "qcow2"
    assert disk_info['format-specific']['data']['compat'] == "1.1"
    assert disk_info['virtual-size'] == 10 * MiB
    assert disk_info['backing-filename'] == src
    assert disk_info['backing-filename-format'] == "qcow2"
    permissions = stat.S_IMODE(os.stat(disk_path).st_mode)
    assert oct(permissions) == oct(sc.FILE_VOLUME_PERMISSIONS)