From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:49617) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qf888-0004Cn-SU for qemu-devel@nongnu.org; Fri, 08 Jul 2011 06:17:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qf886-0000xL-K7 for qemu-devel@nongnu.org; Fri, 08 Jul 2011 06:17:52 -0400 Received: from mx1.redhat.com ([209.132.183.28]:18949) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qf886-0000wx-2p for qemu-devel@nongnu.org; Fri, 08 Jul 2011 06:17:50 -0400 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p68AHmTa030626 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 8 Jul 2011 06:17:48 -0400 Message-ID: <4E16D949.2060305@redhat.com> Date: Fri, 08 Jul 2011 12:17:45 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <1310115239-19288-1-git-send-email-kraxel@redhat.com> <4E16D3D8.60908@redhat.com> <4E16D4EF.5020903@redhat.com> In-Reply-To: <4E16D4EF.5020903@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 0/3] non-migratable devices List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gerd Hoffmann Cc: qemu-devel@nongnu.org On 07/08/2011 11:59 AM, Gerd Hoffmann wrote: > > >> For scsi-cd and other empty-but-generally-migratable devices we should >> probably add an empty vmstate, so that any further addition can be done >> as subsections. > > That will break migration to older versions which don't know about the > new sections, even if they are empty ... scsi-cd is new in 0.15, older versions have scsi-disk only. That's why we should take the occasion to add the empty vmstate at least to it. For other devices, it's better to make the breakage in a single version. It also allows to make 0.15 the "flag day" where each device shall have a VMState or the entire VM will not be migratable. If desired, in the future we can revert this behavior for pc-0.14 and earlier machines. Paolo