static void report_unsupported_feature(BlockDriverState *bs,

    Error **errp, Qcow2Feature *table, uint64_t mask)

{

    while (table && table->name[0] != '\0') {

        if (table->type == QCOW2_FEAT_TYPE_INCOMPATIBLE) {

            if (mask & (1 << table->bit)) {

                report_unsupported(bs, errp, "%.46s", table->name);

                mask &= ~(1 << table->bit);

            }

        }

        table++;

    }



    if (mask) {

        report_unsupported(bs, errp, "Unknown incompatible feature: %" PRIx64,

                           mask);

    }

}

static void report_unsupported_feature(BlockDriverState *bs,

    Error **errp, Qcow2Feature *table, uint64_t mask)

{

    while (table && table->name[0] != '\0') {

        if (table->type == QCOW2_FEAT_TYPE_INCOMPATIBLE) {

            if (mask & (1 << table->bit)) {

                report_unsupported(bs, errp, "%.46s", table->name);

                mask &= ~(1 << table->bit);

            }

        }

        table++;

    }



    if (mask) {

        report_unsupported(bs, errp, "Unknown incompatible feature: %" PRIx64,

                           mask);

    }

}

            if (mask & (1 << table->bit)) {                 report_unsupported(bs, errp, "%.46s", table->name);                 mask &= ~(1 << table->bit);         report_unsupported(bs, errp, "Unknown incompatible feature: %" PRIx64,                            mask);
static void FUNC_0(BlockDriverState *VAR_0,

    Error **VAR_1, Qcow2Feature *VAR_2, uint64_t VAR_3)

{

    while (VAR_2 && VAR_2->name[0] != '\0') {

        if (VAR_2->type == QCOW2_FEAT_TYPE_INCOMPATIBLE) {

            if (VAR_3 & (1 << VAR_2->bit)) {

                report_unsupported(VAR_0, VAR_1, "%.46s", VAR_2->name);

                VAR_3 &= ~(1 << VAR_2->bit);

            }

        }

        VAR_2++;

    }



    if (VAR_3) {

        report_unsupported(VAR_0, VAR_1, "Unknown incompatible feature: %" PRIx64,

                           VAR_3);

    }

}

static void FUNC_0(BlockDriverState *VAR_0,
Error **VAR_1, Qcow2Feature *VAR_2, uint64_t VAR_3)
{ while (VAR_2 && VAR_2->name[0] != '\0') { if (VAR_2->type == QCOW2_FEAT_TYPE_INCOMPATIBLE) { if (VAR_3 & (1 << VAR_2->bit)) { report_unsupported(VAR_0, VAR_1, "%.46s", VAR_2->name); VAR_3 &= ~(1 << VAR_2->bit); } } VAR_2++; } if (VAR_3) { report_unsupported(VAR_0, VAR_1, "Unknown incompatible feature: %" PRIx64,
VAR_3); } }