From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:53664) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TwHxq-0007nO-Aj for qemu-devel@nongnu.org; Fri, 18 Jan 2013 14:50:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TwHxm-0006le-5v for qemu-devel@nongnu.org; Fri, 18 Jan 2013 14:50:58 -0500 Received: from mx1.redhat.com ([209.132.183.28]:20090) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TwHxl-0006la-UA for qemu-devel@nongnu.org; Fri, 18 Jan 2013 14:50:54 -0500 Date: Fri, 18 Jan 2013 17:50:45 -0200 From: Marcelo Tosatti Message-ID: <20130118195045.GD9449@amt.cnet> References: <20121212223919.GA3190@amt.cnet> <50F4D0BC.9020207@redhat.com> <50F583E6.1040907@redhat.com> <50F734EF.3030402@redhat.com> <20130118121222.GA9124@amt.cnet> <50F98084.4000200@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <50F98084.4000200@redhat.com> Subject: Re: [Qemu-devel] [PATCH] define qemukvm-1.2 machine type List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Cole Robinson Cc: Paolo Bonzini , Anthony Liguori , qemu-devel@nongnu.org On Fri, Jan 18, 2013 at 11:04:04AM -0600, Cole Robinson wrote: > >> Thanks for the analysis Paolo, here's the final patch I used: > >> > >> http://pkgs.fedoraproject.org/cgit/qemu.git/tree/0004-Fix-migration-compat-with-qemu-kvm.patch > >> > >> Thanks, > >> Cole > > > > Cole, > > > > version_id and minimum_version_id should be changed to 2, as the comment > > indicates. Problem is it uses acpi_load_old, when reading from qemu-kvm 1.2 (which advertises format as V2), which reads 4*16 bits (instead of 16 bits) for en/sts fields. So it can corrupt incoming migration data. > But won't that mean we have to carry that patch forever, and while we carry > that patch we can never migrate from Fedora qemu to an upstream qemu instance? > I'd like to avoid carrying any incompatibility forward, if possible. No useful ideas :(