aboutsummaryrefslogtreecommitdiff
path: root/softmmu/rtc.c
diff options
context:
space:
mode:
Diffstat (limited to 'softmmu/rtc.c')
-rw-r--r--softmmu/rtc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/softmmu/rtc.c b/softmmu/rtc.c
index e1e15ef613..5632684fc9 100644
--- a/softmmu/rtc.c
+++ b/softmmu/rtc.c
@@ -179,7 +179,8 @@ void configure_rtc(QemuOpts *opts)
if (!strcmp(value, "slew")) {
object_register_sugar_prop("mc146818rtc",
"lost_tick_policy",
- "slew");
+ "slew",
+ false);
} else if (!strcmp(value, "none")) {
/* discard is default */
} else {