From 788081417ae250e69bfa1d33d11d774bc4c03a27 Mon Sep 17 00:00:00 2001 From: Paolo Bonzini Date: Fri, 30 Mar 2012 10:31:21 +0000 Subject: rtc: add -rtc clock=rt This will let people use backwards-compatible semantics for devices that will be affected by the following patches. Signed-off-by: Paolo Bonzini Signed-off-by: Peter Maydell --- vl.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'vl.c') diff --git a/vl.c b/vl.c index 0fccf50..71a4755 100644 --- a/vl.c +++ b/vl.c @@ -529,6 +529,8 @@ static void configure_rtc(QemuOpts *opts) if (value) { if (!strcmp(value, "host")) { rtc_clock = host_clock; + } else if (!strcmp(value, "rt")) { + rtc_clock = rt_clock; } else if (!strcmp(value, "vm")) { rtc_clock = vm_clock; } else { -- cgit v1.1