[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-stable] [PATCH for-2.1 v2 1/2] migration: load smaller RAMBloc
From: |
Laszlo Ersek |
Subject: |
Re: [Qemu-stable] [PATCH for-2.1 v2 1/2] migration: load smaller RAMBlock to a bigger one if permitted |
Date: |
Mon, 28 Jul 2014 10:19:48 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 |
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 <address@hidden>
> Signed-off-by: Igor Mammedov <address@hidden>
> ---
> 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 <address@hidden>