On 10/12/2015 11:19, Markus Armbruster wrote:
> +    object_property_set_int(OBJECT(cpu), ZYNQ_BOARD_MIDR, "midr",
> +                            
> &error_fatal);object_property_set_int(OBJECT(cpu),
> +                                                                  
> MPCORE_PERIPHBASE,
> +                                                                  
> "reset-cbar",
> +                                                                  
> &error_fatal);object_property_set_bool(OBJECT(cpu),
> +                                                                             
>                             true,
> +                                                                             
>                             "realized",
> +                                                                             
>                             &error_fatal);

Something went wrong here. :)

>  void qdev_prop_set_drive_nofail(DeviceState *dev, const char *name,
>                                  BlockBackend *value)
>  {
> -    Error *err = NULL;
> -
> -    qdev_prop_set_drive(dev, name, value, &err);
> -    if (err) {
> -        error_report_err(err);
> -        exit(1);
> -    }
> +    qdev_prop_set_drive(dev, name, value, &error_fatal);
>  }


This should be inlined entirely into the callers (possibly as a follow up).

Otherwise looks great, thanks!

Paolo

Reply via email to