diff options
author | Stefano Stabellini <stefano.stabellini@eu.citrix.com> | 2011-11-21 11:10:21 +0000 |
---|---|---|
committer | Stefano Stabellini <stefano.stabellini@eu.citrix.com> | 2012-05-17 10:43:32 +0000 |
commit | 95d5d75ede92c7ae7b47e8de2694db969b7fc06f (patch) | |
tree | b774ae632c79affce175fa92fc28a62d7fabf511 | |
parent | c2d8d311c18b13c5282ab7d7b2ae57e3dd1e7f7d (diff) |
xen: disable rtc_clock
rtc_clock is only used by the RTC emulator (mc146818rtc.c), however Xen
has its own RTC emulator in the hypervisor so we can disable it.
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
-rw-r--r-- | xen-all.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -603,6 +603,10 @@ void xen_vcpu_init(void) qemu_register_reset(xen_reset_vcpu, first_cpu); xen_reset_vcpu(first_cpu); } + /* if rtc_clock is left to default (host_clock), disable it */ + if (rtc_clock == host_clock) { + qemu_clock_enable(rtc_clock, false); + } } /* get the ioreq packets from share mem */ |