From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:45523) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QcWvr-0000na-QM for qemu-devel@nongnu.org; Fri, 01 Jul 2011 02:10:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QcWvq-00073X-P0 for qemu-devel@nongnu.org; Fri, 01 Jul 2011 02:10:27 -0400 Received: from mx1.redhat.com ([209.132.183.28]:28618) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QcWvq-00073S-Eo for qemu-devel@nongnu.org; Fri, 01 Jul 2011 02:10:26 -0400 Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p616APll010971 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 1 Jul 2011 02:10:25 -0400 Message-ID: <4E0D64CE.40509@redhat.com> Date: Fri, 01 Jul 2011 08:10:22 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <1309448777-1447-1-git-send-email-pbonzini@redhat.com> <1309448777-1447-2-git-send-email-pbonzini@redhat.com> <20110630181110.GA11924@redhat.com> In-Reply-To: <20110630181110.GA11924@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [RFC PATCH 1/4] add support for machine models to specify their migration format List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Michael S. Tsirkin" Cc: qemu-devel@nongnu.org On 06/30/2011 08:11 PM, Michael S. Tsirkin wrote: > > Signed-off-by: Paolo Bonzini > > Should not machine describe guest behaviour? > It seems that a flag to the migrate/save command to control format > would be better - this way the same machine can > migrate to different formats. I thought about it, but there is no savevm state variable (only migration state, but it's unused for snapshotting). So it seemed too much work for an RFC series I wanted to push out fast. Besides, you need to store a default somewhere, and the default must be the old format for versioned machine models; perhaps not from QEMU where new->old migration is a wild bet anyway, but for downstream it must. Then I think that you are suggesting a superset of this patch. I'm not even sure it is necessary to have it though: it is a correctness fix, it should be on for everyone. Paolo