Received: from eggs.gnu.org ([208.118.235.92]:57327) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UQ1Uh-0008Gk-8f for qemu-devel@nongnu.org; Wed, 10 Apr 2013 16:19:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UQ1Ug-0005hO-4R for qemu-devel@nongnu.org; Wed, 10 Apr 2013 16:19:47 -0400 Received: from zose-mta12.web4all.fr ([178.33.204.89]:34782) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UQ1Uf-0005hC-VE for qemu-devel@nongnu.org; Wed, 10 Apr 2013 16:19:46 -0400 Message-ID: <5165C95E.1040405@tribudubois.net> Date: Wed, 10 Apr 2013 22:19:42 +0200 From: Jean-Christophe DUBOIS MIME-Version: 1.0 References: <1365624169-15451-1-git-send-email-jcd@tribudubois.net> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v2] i.MX: implement a more correct version of EPIT timer. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Peter Maydell , peter.chubb@nicta.com.au, philipo@ok-labs.com On 04/10/2013 10:07 PM, Peter Maydell wrote: > On 10 April 2013 21:02, Jean-Christophe DUBOIS wrote: >> static const VMStateDescription vmstate_imx_timerp = { >> .name = "imx-timerp", >> - .version_id = 1, >> + .version_id = 2, >> .minimum_version_id = 1, >> .minimum_version_id_old = 1, > I said "all the version id fields" but you've only changed one. > (I'm assuming you don't want to try to support old-to-new > migration, which is the case where the minimum and current IDs > differ; in that case you need to annotate fields with the > version they appear in and you can't delete or rename them.) To be honest with you Peter, I don't even know how these state information are used. I never practiced VM migration with Qemu for now. Actually if you had a few pointers to a decent explanation, I would be interested. JC > > thanks > -- PMM >