On Tue, 19 Mar 2019 12:53:49 +0000 Peter Maydell <peter.mayd...@linaro.org> wrote:
> On Tue, 19 Mar 2019 at 12:42, Igor Mammedov <imamm...@redhat.com> wrote: > > on aarch(64) we also load dtb into main RAM currently only on boot, > > Hmm? We load the DTB in hw/arm/boot.c using rom_add_blob_fixed_as(), > which means that it will use this "rom blob loading" mechanism, > so it should be re-copied into RAM on reset. yep, you are right I confused it with with mutable content issue below. > > and I was planning to move it to reset stage to accommodate > > hotplug usecase so that guest would pick up hotplugged > > devices after reboot. > > The problem here is that this is trying to change the > contents of the DTB blob on a reboot, which is not > supported by the ROM blob mechanism, which assumes that > these things are immutable. That was the problem I've actually met. > > thanks > -- PMM