From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56450) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XAGNA-0006C3-Ja for qemu-devel@nongnu.org; Thu, 24 Jul 2014 06:35:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XAGN3-0006Ge-Ri for qemu-devel@nongnu.org; Thu, 24 Jul 2014 06:35:40 -0400 Message-ID: <53D0E16E.9000801@redhat.com> Date: Thu, 24 Jul 2014 12:35:26 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <1406192861-30186-1-git-send-email-imammedo@redhat.com> In-Reply-To: <1406192861-30186-1-git-send-email-imammedo@redhat.com> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [RFC for-2.1 for for-2.0-stable] pc: acpi: generate AML only for PCI0 devices if PCI bridge hotplug is disabled List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Igor Mammedov , qemu-devel@nongnu.org Cc: peter.maydell@linaro.org, mst@redhat.com, qemu-stable@nongnu.org, dgilbert@redhat.com, amit.shah@redhat.com, lersek@redhat.com Il 24/07/2014 11:07, Igor Mammedov ha scritto: > Fixes migration regression from QEMU-1.7 to a newer QEMUs. > SSDT table size in QEMU-1.7 doesn't change regardless of > a number of PCI bridge devices present at startup. > > However in QEMU-2.0 since addition of hotplug on PCI bridges, > each PCI bridge adds ~1875 bytes to SSDT table, including > pc-i440fx-1.7 machine type where PCI bridge hotplug disabled > via compat property. > It breaks migration from "QEMU-1.7" to "QEMU-2.[01] -M pc-i440fx-1.7" > since RAMBlock size of ACPI tables on target becomes larger > then on source and migration fails with: > > "Length mismatch: /rom@etc/acpi/tables: 2000 in != 3000" > > error. In principle, this definitely makes sense. With QEMU-2.0 and 2.0.1 out in the wild (and packaged into Ubuntu), however, it's difficult to decide whether to include this patch or not. I feel more like having downstreams include it if they skipped QEMU 2.0 and went straight from 1.7 to 2.1. Paolo