Received: from [140.186.70.92] (port=44198 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q224r-0006rq-8V for qemu-devel@nongnu.org; Tue, 22 Mar 2011 09:56:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q224q-0003j8-0l for qemu-devel@nongnu.org; Tue, 22 Mar 2011 09:56:53 -0400 Received: from mx1.redhat.com ([209.132.183.28]:5386) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q224p-0003il-OW for qemu-devel@nongnu.org; Tue, 22 Mar 2011 09:56:51 -0400 From: Juan Quintela In-Reply-To: <4D88A372.9040808@us.ibm.com> (Anthony Liguori's message of "Tue, 22 Mar 2011 08:26:10 -0500") References: <1300200805-13928-1-git-send-email-quintela@redhat.com> <4D87EC8A.3010309@linux.vnet.ibm.com> <4D87FF80.6060300@us.ibm.com> <4D886BB6.80906@redhat.com> <4D8878BE.5070102@linux.vnet.ibm.com> <4D887CB3.6010505@redhat.com> <4D888CFF.5050204@linux.vnet.ibm.com> <4D888E7F.8040700@linux.vnet.ibm.com> <4D888F6A.1000009@siemens.com> <4D88A372.9040808@us.ibm.com> Date: Tue, 22 Mar 2011 14:55:07 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [Qemu-devel] Re: Supsend/resume regression in c995b4 WAS: Re: [PATCH] Fix migration uint8 arrys handled Reply-To: quintela@redhat.com List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: "qemu-devel@nongnu.org" , Jan Kiszka , Avi Kivity , Stefan Berger Anthony Liguori wrote: > On 03/22/2011 07:00 AM, Jan Kiszka wrote: >> We had a few migration related regressions recently. Do we have >> sufficient test cases in autotest for them? Also for migrating from >> older to the latest version? > > Autotest is too late and also not nearly rigorous enough for what > you're trying to catch. > > Here's how I propose we tackle this. This patch adds a -dump-savevm > option that takes a version. It spits out all of the fields we save > for a particular version (well, not really, but it should). We also > can add type information. The idea is that we'd write a simple test > case (using gtester) that ran through and dumped the schema for each > version. We'd store the schema's in the tree and the test can compare > old schema's to the current schema to check for failure. > > This was thrown together in just a few minutes. I'll try to put > together something more complete later today but I wanted to share > this before the call at least. This would be an start, althought I still think that a way to dump a single device, and a way to dump the state of a device in a specific version is needed. Information as: - is this always saved - size of arrays - .... that is there is not saved. Later, Juan.