On Wed, 20 Nov 2019 at 15:28, Marc-André Lureau <marcandre.lur...@redhat.com> wrote: > > Register the memory region with sysbus_init_mmio() and look it up with > sysbus_mmio_get_region() to avoid accessing internal device fields. > > Suggested-by: Peter Maydell <peter.mayd...@linaro.org> > Signed-off-by: Marc-André Lureau <marcandre.lur...@redhat.com> > --- > hw/char/serial.c | 1 + > hw/mips/mips_mipssim.c | 3 ++-
Reviewed-by: Peter Maydell <peter.mayd...@linaro.org> thanks -- PMM