On 21-03-2012 03:02, Paolo Bonzini wrote:
> This piece of code from the previous if:
> 
>         if (!strcmp(value, "slew")) {
>             static GlobalProperty slew_lost_ticks[] = {
>                 {
>                     .driver   = "mc146818rtc",
>                     .property = "lost_tick_policy",
>                     .value    = "slew",
>                 },
>                 { /* end of list */ }
>             };
> 
>             qdev_prop_register_global_list(slew_lost_ticks);
> 
> needs to be adjusted and moved to the "if (!strmp(value, "none"))" branch.

Thanks, Paolo! I sent a version 3 of these patches with the changes you
suggested.

-- 
Best regards,
Crístian.


Reply via email to