[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] x86: Update guest timestamps on frequency change.
# HG changeset patch # User Keir Fraser <keir.fraser@xxxxxxxxxx> # Date 1218193689 -3600 # Node ID c386106f9638e58fd0120d7e95205b56564416ab # Parent d31546a3883e9635f5c8322e688c4ca3e6322e8c x86: Update guest timestamps on frequency change. Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx> --- xen/arch/x86/time.c | 2 ++ 1 files changed, 2 insertions(+) diff -r d31546a3883e -r c386106f9638 xen/arch/x86/time.c --- a/xen/arch/x86/time.c Fri Aug 08 11:22:44 2008 +0100 +++ b/xen/arch/x86/time.c Fri Aug 08 12:08:09 2008 +0100 @@ -802,6 +802,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. */ 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 |