[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] migration: avoid copying ignore-shared ramblock
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] [PATCH] migration: avoid copying ignore-shared ramblock when in incoming migration |
Date: |
Fri, 22 Mar 2019 10:49:50 +0000 |
On Fri, 22 Mar 2019 at 10:12, Dr. David Alan Gilbert
<address@hidden> wrote:
> Right, so in Catherine's patch there's a simple in_incoming_migration
> and checking ramblock_is_ignored
Mmm, but I think it is in the wrong place. It is being checked
in address_space_write_rom_internal(). Either we want to
suppress any and all writes to these RAM blocks, in which
case I don't think that function covers all the ways that
code can get hold of a RAM block and write to it; or we are
confident that only the ROM blobs are an issue, in which
case it is too low in the call stack and we should do the
check in rom_reset().
Are there any other cases where we might write to RAM
during reset/migration ? I thought of "user write via
the debug stub or monitor", but perhaps those either
can't happen or we define them as user error. But I
there might be some other obscure cases, which perhaps
argues for doing this at the lowest level possible.
thanks
-- PMM
- [Qemu-devel] [PATCH] migration: avoid copying ignore-shared ramblock when in incoming migration, Catherine Ho, 2019/03/19
- Re: [Qemu-devel] [PATCH] migration: avoid copying ignore-shared ramblock when in incoming migration, Jia He, 2019/03/19
- Re: [Qemu-devel] [PATCH] migration: avoid copying ignore-shared ramblock when in incoming migration, Peter Xu, 2019/03/20
- Re: [Qemu-devel] [PATCH] migration: avoid copying ignore-shared ramblock when in incoming migration, chenxi He, 2019/03/20
- Re: [Qemu-devel] [PATCH] migration: avoid copying ignore-shared ramblock when in incoming migration, Peter Xu, 2019/03/21
- Re: [Qemu-devel] [PATCH] migration: avoid copying ignore-shared ramblock when in incoming migration, Catherine Ho, 2019/03/21
- Re: [Qemu-devel] [PATCH] migration: avoid copying ignore-shared ramblock when in incoming migration, Peter Xu, 2019/03/22
- Re: [Qemu-devel] [PATCH] migration: avoid copying ignore-shared ramblock when in incoming migration, Peter Maydell, 2019/03/22
- Re: [Qemu-devel] [PATCH] migration: avoid copying ignore-shared ramblock when in incoming migration, Dr. David Alan Gilbert, 2019/03/22
- Re: [Qemu-devel] [PATCH] migration: avoid copying ignore-shared ramblock when in incoming migration,
Peter Maydell <=
- Re: [Qemu-devel] [PATCH] migration: avoid copying ignore-shared ramblock when in incoming migration, Dr. David Alan Gilbert, 2019/03/22
- Re: [Qemu-devel] [PATCH] migration: avoid copying ignore-shared ramblock when in incoming migration, Peter Xu, 2019/03/24
- Re: [Qemu-devel] [PATCH] migration: avoid copying ignore-shared ramblock when in incoming migration, Catherine Ho, 2019/03/26
- Re: [Qemu-devel] [PATCH] migration: avoid copying ignore-shared ramblock when in incoming migration, Peter Maydell, 2019/03/22