[PATCH 2/2] kvmclock: count total_sleep_time when updating guest clock

2010-01-27 Thread Jason Wang
Current kvm wallclock does not consider the total_sleep_time which could cause wrong wallclock in guest after host suspend/resume. This patch solve this issue by counting total_sleep_time to get the correct host boot time. Signed-off-by: Jason Wang jasow...@redhat.com --- arch/x86/kvm/x86.c |

Re: [PATCH 2/2] kvmclock: count total_sleep_time when updating guest clock

2010-01-27 Thread Glauber Costa
On Wed, Jan 27, 2010 at 07:13:49PM +0800, Jason Wang wrote: Current kvm wallclock does not consider the total_sleep_time which could cause wrong wallclock in guest after host suspend/resume. This patch solve this issue by counting total_sleep_time to get the correct host boot time.

Re: [PATCH 2/2] kvmclock: count total_sleep_time when updating guest clock

2010-01-27 Thread Marcelo Tosatti
On Wed, Jan 27, 2010 at 07:13:49PM +0800, Jason Wang wrote: Current kvm wallclock does not consider the total_sleep_time which could cause wrong wallclock in guest after host suspend/resume. This patch solve this issue by counting total_sleep_time to get the correct host boot time.