[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-3.2-testing] x86: Update guest timestamps on frequency change.
# HG changeset patch # User Keir Fraser <keir.fraser@xxxxxxxxxx> # Date 1218193790 -3600 # Node ID 533727b835ec64a9e5cb314db1d259e306ee242e # Parent 2c3079c6ad2d042ce0b2bb595bc160f7fc3415b5 x86: Update guest timestamps on frequency change. Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx> xen-unstable changeset: 18267:c386106f9638e58fd0120d7e95205b56564416ab xen-unstable date: Fri Aug 08 12:08:09 2008 +0100 --- xen/arch/x86/time.c | 2 ++ 1 files changed, 2 insertions(+) diff -r 2c3079c6ad2d -r 533727b835ec xen/arch/x86/time.c --- a/xen/arch/x86/time.c Tue Aug 05 09:26:22 2008 +0100 +++ b/xen/arch/x86/time.c Fri Aug 08 12:09:50 2008 +0100 @@ -748,6 +748,8 @@ int cpu_frequency_change(u64 freq) set_time_scale(&t->tsc_scale, freq); local_irq_enable(); + update_vcpu_system_time(current); + /* A full epoch should pass before we check for deviation. */ set_timer(&t->calibration_timer, NOW() + EPOCH); if ( smp_processor_id() == 0 ) _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |