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 <[email protected]>
> Signed-off-by: Igor Mammedov <[email protected]>
> ---
> 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 <[email protected]>


Reply via email to