From: Richard Henderson <richard.hender...@linaro.org> > If qemu_get_host_physmem returns an odd number of pages, then physmem / 8 > will not be a multiple of the page size. > > The following was observed on a gitlab runner: > > ERROR qtest-arm/boot-serial-test - Bail out! > ERROR:../util/osdep.c:80:qemu_mprotect__osdep: \ > assertion failed: (!(size & ~qemu_real_host_page_mask)) > > Signed-off-by: Richard Henderson <richard.hender...@linaro.org> > --- > tcg/region.c | 47 +++++++++++++++++++++-------------------------- > 1 file changed, 21 insertions(+), 26 deletions(-)
Reviewed-by: Luis Pires <luis.pi...@eldorado.org.br> -- Luis Pires Instituto de Pesquisas ELDORADO Aviso Legal - Disclaimer <https://www.eldorado.org.br/disclaimer.html>