Received: from eggs.gnu.org ([2001:4830:134:3::10]:57259) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XMaUx-0004E8-Ft for qemu-devel@nongnu.org; Wed, 27 Aug 2014 06:30:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XMaUo-000321-1j for qemu-devel@nongnu.org; Wed, 27 Aug 2014 06:30:39 -0400 Received: from mail.ispras.ru ([83.149.199.45]:37441) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XMaUn-00031j-LD for qemu-devel@nongnu.org; Wed, 27 Aug 2014 06:30:29 -0400 From: "Pavel Dovgaluk" References: <20140826071427.1672.48119.stgit@PASHA-ISP> <20140826071519.1672.54843.stgit@PASHA-ISP> <53FC4B0D.6000906@redhat.com> <000f01cfc1df$db77c100$92674300$@Dovgaluk@ispras.ru> <53FDB1A5.9090208@redhat.com> In-Reply-To: <53FDB1A5.9090208@redhat.com> Date: Wed, 27 Aug 2014 14:30:29 +0400 Message-ID: <001001cfc1e1$ec844ed0$c58cec70$@Dovgaluk@ispras.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Content-Language: ru Subject: Re: [Qemu-devel] [PATCH 09/12] rtl8139: adding new fields to vmstate List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: 'Paolo Bonzini' , qemu-devel@nongnu.org Cc: zealot351@gmail.com, maria.klimushenkova@ispras.ru > From: Paolo Bonzini [mailto:pbonzini@redhat.com] > Il 27/08/2014 12:15, Pavel Dovgaluk ha scritto: > >> > Again, this is only needed in your record/replay system (and you haven't > >> > yet quite explained why the design has this limitation), so it should > >> > not be a part of this series. > > I see. Updating s->timer and s->TimerExpire in post_load will be enough? > > In theory it should be done already, I guess it's not deterministic > enough though. I split existing function into the two parts: one sets irq (and calls another). And the second part sets only timer and TimerExpire fields. The second function is also called from post_load. > Have you tried my patch to rewrite the timer stuff? What patch do you mean? Pavel Dovgalyuk