diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2012-03-30 10:31:21 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2012-03-30 10:31:21 +0000 |
commit | 788081417ae250e69bfa1d33d11d774bc4c03a27 (patch) | |
tree | c1d868dbb2845ab7ec90b1c10098023231e1f2e9 /vl.c | |
parent | f638f0d3ae214d995cdd94578195700cda24597b (diff) | |
download | qemu-788081417ae250e69bfa1d33d11d774bc4c03a27.tar.gz qemu-788081417ae250e69bfa1d33d11d774bc4c03a27.tar.bz2 qemu-788081417ae250e69bfa1d33d11d774bc4c03a27.zip |
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 <pbonzini@redhat.com>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'vl.c')
-rw-r--r-- | vl.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 { |