[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2 2/2] Change timedrift default value to slew
From: |
Crístian Viana |
Subject: |
Re: [Qemu-devel] [PATCH v2 2/2] Change timedrift default value to slew |
Date: |
Wed, 21 Mar 2012 14:14:20 -0300 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120317 Thunderbird/11.0 |
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.