Revision eecbb9fe

b/hw/qdev-properties.c
565 565
        return -1;
566 566
    }
567 567
    if (prop->info->parse(dev, prop, value) != 0) {
568
        if (strcmp(value, "?") != 0) {
569
            fprintf(stderr, "property \"%s.%s\": failed to parse \"%s\"\n",
570
                    dev->info->name, name, value);
571
        } else {
572
            fprintf(stderr, "%s.%s=%s\n",
573
                    dev->info->name, name, prop->info->name);
574
        }
568
        fprintf(stderr, "property \"%s.%s\": failed to parse \"%s\"\n",
569
                dev->info->name, name, value);
575 570
        return -1;
576 571
    }
577 572
    return 0;

Also available in: Unified diff