From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=51706 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q2M9L-0003hm-Eh for qemu-devel@nongnu.org; Wed, 23 Mar 2011 07:22:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q2M9K-0008Jz-8z for qemu-devel@nongnu.org; Wed, 23 Mar 2011 07:22:51 -0400 Received: from mail-ww0-f41.google.com ([74.125.82.41]:50496) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q2M9K-0008JQ-38 for qemu-devel@nongnu.org; Wed, 23 Mar 2011 07:22:50 -0400 Received: by wwi18 with SMTP id 18so5898423wwi.4 for ; Wed, 23 Mar 2011 04:22:48 -0700 (PDT) MIME-Version: 1.0 Sender: tamura.yoshiaki@gmail.com In-Reply-To: <4D89B915.80406@redhat.com> 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> <4D89B915.80406@redhat.com> Date: Wed, 23 Mar 2011 20:22:48 +0900 Message-ID: Subject: Re: Supsend/resume regression in c995b4 WAS: Re: [Qemu-devel] [PATCH] Fix migration uint8 arrys handled From: Yoshiaki Tamura Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Avi Kivity Cc: Jan Kiszka , Anthony Liguori , Stefan Berger , "qemu-devel@nongnu.org" , Juan Quintela 2011/3/23 Avi Kivity : > On 03/22/2011 03:26 PM, Anthony Liguori wrote: >> >> Here's how I propose we tackle this. =A0This patch adds a -dump-savevm >> option that takes a version. =A0It spits out all of the fields we save f= or a >> particular version (well, not really, but it should). =A0We also can add= type >> information. =A0The idea is that we'd write a simple test case (using gt= ester) >> that ran through and dumped the schema for each version. =A0We'd store t= he >> schema's in the tree and the test can compare old schema's to the curren= t >> schema to check for failure. >> > > Instead of generating the schema and comparing, what about the other way > round? =A0Write vmstate in a formal schema, and generate the code at runt= ime. I agree :) Yoshi > > -- > error compiling committee.c: too many arguments to function > > >