diff options
author | 2021-03-14 13:32:18 -0600 | |
---|---|---|
committer | 2021-06-13 17:42:40 -0700 | |
commit | ba22783d6ef821551360890a025cd29b2444e948 (patch) | |
tree | 24c65e2f9b932d5885b04723880145ce0b0ec69a /module-common.c | |
parent | util/osdep: Add qemu_mprotect_rw (diff) | |
download | qemu-ba22783d6ef821551360890a025cd29b2444e948.tar.xz qemu-ba22783d6ef821551360890a025cd29b2444e948.zip |
tcg: Round the tb_size default from qemu_get_host_physmem
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))
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Luis Pires <luis.pires@eldorado.org.br>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'module-common.c')
0 files changed, 0 insertions, 0 deletions