aboutsummaryrefslogtreecommitdiff
path: root/util/nvdimm-utils.c
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2021-03-14 13:32:18 -0600
committerRichard Henderson <richard.henderson@linaro.org>2021-06-13 17:42:40 -0700
commitba22783d6ef821551360890a025cd29b2444e948 (patch)
tree24c65e2f9b932d5885b04723880145ce0b0ec69a /util/nvdimm-utils.c
parentd7107fc00aff819338e1d2683eabcbb2ff4ef61b (diff)
downloadqemu-ba22783d6ef821551360890a025cd29b2444e948.zip
qemu-ba22783d6ef821551360890a025cd29b2444e948.tar.gz
qemu-ba22783d6ef821551360890a025cd29b2444e948.tar.bz2
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 'util/nvdimm-utils.c')
0 files changed, 0 insertions, 0 deletions