[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Memory: Only call ramblock_ptr when needed in qemu_ram_write
From: |
Juan Quintela |
Subject: |
Re: [PATCH] Memory: Only call ramblock_ptr when needed in qemu_ram_writeback |
Date: |
Thu, 19 Dec 2019 19:10:24 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) |
Anthony PERARD <address@hidden> wrote:
> It is possible that a ramblock doesn't have memory that QEMU can
> access, this is the case with the Xen hypervisor.
>
> In order to avoid to trigger an assert, only call ramblock_ptr() when
> needed in qemu_ram_writeback(). This should fix migration of Xen
> guests that was broken with bd108a44bc29 ("migration: ram: Switch to
> ram block writeback").
>
> Signed-off-by: Anthony PERARD <address@hidden>
Reviewed-by: Juan Quintela <address@hidden>
This is exec.c, nothing related to migration.
Paolo, are you taking this one?
It could even go through the trivial one.
Thanks, Juan.