Received: from eggs.gnu.org ([2001:4830:134:3::10]:59941) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XMamI-0001z1-MV for qemu-devel@nongnu.org; Wed, 27 Aug 2014 06:48:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XMam6-0007xJ-Mn for qemu-devel@nongnu.org; Wed, 27 Aug 2014 06:48:34 -0400 Received: from mail.ispras.ru ([83.149.199.45]:37797) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XMam6-0007x9-Eq for qemu-devel@nongnu.org; Wed, 27 Aug 2014 06:48:22 -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> <001001cfc1e1$ec844ed0$c58cec70$@Dovgaluk@ispras.ru> <53FDB623.1000908@redhat.com> In-Reply-To: <53FDB623.1000908@redhat.com> Date: Wed, 27 Aug 2014 14:48:22 +0400 Message-ID: <001101cfc1e4$6bd725c0$43857140$@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:30, Pavel Dovgaluk ha scritto: > >> 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? > > This one: > > http://article.gmane.org/gmane.comp.emulators.qemu/288521 It will solve the problem, because it removes raising an irq from rtl8139_set_next_tctr_time function. Ok then, I'll remove my rtl8139 patch from the series. Pavel Dovgalyuk