From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57215) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XBgA4-0008OH-Af for qemu-devel@nongnu.org; Mon, 28 Jul 2014 04:20:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XBg9y-0001l4-4F for qemu-devel@nongnu.org; Mon, 28 Jul 2014 04:20:00 -0400 Message-ID: <53D607A4.1010408@redhat.com> Date: Mon, 28 Jul 2014 10:19:48 +0200 From: Laszlo Ersek MIME-Version: 1.0 References: <1406534605-18911-1-git-send-email-imammedo@redhat.com> <1406534605-18911-2-git-send-email-imammedo@redhat.com> In-Reply-To: <1406534605-18911-2-git-send-email-imammedo@redhat.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH for-2.1 v2 1/2] migration: load smaller RAMBlock to a bigger one if permitted 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, pbonzini@redhat.com On 07/28/14 10:03, Igor Mammedov wrote: > Add API to mark memory region as extend-able on migration, > to allow migration code to load smaller RAMBlock into > a bigger one on destination QEMU instance. > > This will allow to fix broken migration from QEMU 1.7/2.0 to > QEMU 2.1 due to ACPI tables size changes across 1.7/2.0/2.1 > versions by marking ACPI tables ROM blob as extend-able. > So that smaller tables from previous version could be always > migrated to a bigger rom blob on new version. > > Credits-for-idea: Michael S. Tsirkin > Signed-off-by: Igor Mammedov > --- > v2: > fixed patch as suggested by Laszlo > --- > arch_init.c | 22 +++++++++++++++++----- > exec.c | 8 ++++++++ > include/exec/memory.h | 11 +++++++++++ > include/exec/ram_addr.h | 3 +++ > memory.c | 5 +++++ > 5 files changed, 44 insertions(+), 5 deletions(-) Thank you. Reviewed-by: Laszlo Ersek