mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-23 19:49:43 +00:00
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>
This commit is contained in:
parent
c2d8d311c1
commit
95d5d75ede
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user