From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=50147 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PmhfX-0005vF-GL for qemu-devel@nongnu.org; Tue, 08 Feb 2011 02:07:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PmhfW-0007M8-Jv for qemu-devel@nongnu.org; Tue, 08 Feb 2011 02:07:23 -0500 Received: from mx1.redhat.com ([209.132.183.28]:57480) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PmhfW-0007M2-Br for qemu-devel@nongnu.org; Tue, 08 Feb 2011 02:07:22 -0500 Date: Tue, 8 Feb 2011 12:37:14 +0530 From: Amit Shah Message-ID: <20110208070714.GA29281@amit-x200.redhat.com> References: <20110207160751.GC25106@redhat.com> <4D504925.3000807@codemonkey.ws> <20110207195315.GA28096@redhat.com> <4D505C92.5040904@codemonkey.ws> <20110207215203.GA28658@redhat.com> <4D50A90C.1060701@codemonkey.ws> <20110208064214.GB28096@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110208064214.GB28096@redhat.com> Subject: [Qemu-devel] Re: new->old version migration List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Michael S. Tsirkin" Cc: Alex Williamson , qemu list , Juan Quintela On (Tue) 08 Feb 2011 [08:42:14], Michael S. Tsirkin wrote: > I see. I'm unhappy with the facts that > 1. if (feature) is spread all over the code instead > of just in migration > 2. it is also obfuscated with if (flow_control) > instead of plain if (migrate to qemu < 0.14) > so removing it will be much harder > 3. this forces anyone who wants > a VM compatible with qemu 0.13 to also lose data, > even if migration to 0.13 is never attempted. If a machine is started with -M pc-0.13 then we can safely assume the user will want to migrate to another 0.13 machine. Also, flow control is not part of qemu yet. This code ensures that when flow control lands, we'll be ready to use it. So there's 0 difference with this code to a user that runs with -M pc-0.13. But this code will ensure a user running with 0.15 and 0.14 can migrate among the two machine types with and without flow control being available (assuming chardev flow control lands in 0.15). Amit