From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcelo Tosatti Subject: Re: [PATCH 2/2] kvmclock: count total_sleep_time when updating guest clock Date: Wed, 27 Jan 2010 20:22:35 -0200 Message-ID: <20100127222235.GB21713@amt.cnet> References: <20100127111340.25521.95424.stgit@localhost.localdomain> <20100127111349.25521.79809.stgit@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: avi@redhat.com, glommer@redhat.com, kvm@vger.kernel.org To: Jason Wang Return-path: Received: from mx1.redhat.com ([209.132.183.28]:20552 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932162Ab0A0WWo (ORCPT ); Wed, 27 Jan 2010 17:22:44 -0500 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o0RMMhGN015366 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 27 Jan 2010 17:22:43 -0500 Content-Disposition: inline In-Reply-To: <20100127111349.25521.79809.stgit@localhost.localdomain> Sender: kvm-owner@vger.kernel.org List-ID: 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. > > Signed-off-by: Jason Wang Applied and queued for -stable, thanks.