From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48911) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZjmHU-00089x-0z for qemu-devel@nongnu.org; Wed, 07 Oct 2015 06:49:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZjmHQ-0005j2-Q8 for qemu-devel@nongnu.org; Wed, 07 Oct 2015 06:49:07 -0400 Received: from mx1.redhat.com ([209.132.183.28]:43518) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZjmHQ-0005ir-Ko for qemu-devel@nongnu.org; Wed, 07 Oct 2015 06:49:04 -0400 References: <1444161658-15038-1-git-send-email-pbonzini@redhat.com> <1444161658-15038-5-git-send-email-pbonzini@redhat.com> <35633.6639299572$1444206177@news.gmane.org> <5614DD31.4080000@redhat.com> <002e01d100e5$97a8ade0$c6fa09a0$@Dovgaluk@ispras.ru> <5614F2AA.5080100@redhat.com> <002f01d100ec$d97bb4e0$8c731ea0$@Dovgaluk@ispras.ru> From: Paolo Bonzini Message-ID: <5614F89A.5020500@redhat.com> Date: Wed, 7 Oct 2015 12:48:58 +0200 MIME-Version: 1.0 In-Reply-To: <002f01d100ec$d97bb4e0$8c731ea0$@Dovgaluk@ispras.ru> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 4/4] events doubts List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Pavel Dovgaluk , qemu-devel@nongnu.org On 07/10/2015 12:42, Pavel Dovgaluk wrote: >> > Ok, got it. I still want to understand exactly the need for the init >> > and reset checkpoints, and the placement of qemu_clock_warp calls, but >> > apart from that the patches are good to go for 2.5. Thanks for your >> > persistence! > Init checkpoint is needed to separate initialization events (mostly coming from block > devices) from execution ones. > Reset checkpoint is used for synchronization of machine reset call. Why do they need to be separate on startup? Does initialization hang? My reasoning was that QEMU_CLOCK_VIRTUAL is zero anyway at both init and reset. Paolo