]> xenbits.xensource.com Git - qemu-xen-4.6-testing.git/commit
xen: don't initialize the RTC timers if xen is available
authorSefano Stabellini <stefano.stabellini@eu.citrix.com>
Thu, 1 Dec 2011 17:52:01 +0000 (17:52 +0000)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Thu, 1 Dec 2011 17:52:01 +0000 (17:52 +0000)
commit13b06e700528b1c4258ce5d768d69b0d499f75ca
treeea1691dba8894d332e24635d8c83632b2e4b68cc
parent89daacab7035d408f32f2cb1acf68c96d6cbefed
xen: don't initialize the RTC timers if xen is available

Xen doesn't need full RTC emulation in Qemu because the RTC is already
emulated by the hypervisor. Hence don't initialize the RTC timers when Xen is
available so that Qemu doesn't need to wake up needlessly.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
hw/mc146818rtc.c