omap: switch omap_lpg to vm_clock
commite230d4e8bd79a7a7b6d431d6659fa0234f95c82d
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 30 Mar 2012 10:31:22 +0000 (30 10:31 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 30 Mar 2012 10:31:22 +0000 (30 10:31 +0000)
treed2ba0742e65bf323498e1d670432ec3b2a9732f9
parent788081417ae250e69bfa1d33d11d774bc4c03a27
omap: switch omap_lpg to vm_clock

The output of the pulse generator needs to be deterministic when
running in -icount mode, and to remain constant whenever the VM is
stopped.  So the right clock to use is vm_clock.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/omap1.c