[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: |
Anthony PERARD |
Subject: |
Re: [PATCH] Memory: Only call ramblock_ptr when needed in qemu_ram_writeback |
Date: |
Tue, 25 Feb 2020 16:02:03 +0000 |
On Thu, Dec 19, 2019 at 07:10:24PM +0100, Juan Quintela wrote:
> 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.
Hi,
I'm going to send a pull request for the xen queue with this patch.
Unless that's an issue?
Cheers,
--
Anthony PERARD
- Re: [PATCH] Memory: Only call ramblock_ptr when needed in qemu_ram_writeback,
Anthony PERARD <=