hw/arm/virt: Set minimum_page_bits to 12
commita2519ad1828dd443af9f9c293db18db6d6123762
authorPeter Maydell <peter.maydell@linaro.org>
Mon, 24 Oct 2016 15:26:50 +0000 (24 16:26 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 24 Oct 2016 15:26:50 +0000 (24 16:26 +0100)
treec5e4ef27965a9ee1b91519316076e6bfad61acc8
parente97da98f1173c764e8fd8d2c84f84ec3bdc87488
hw/arm/virt: Set minimum_page_bits to 12

Since the virt board model will never create a CPU which is
pre-ARMv7, we know that our minimum page size is 4K and can
set minimum_page_bits accordingly, for improved performance.

Note that this is a migration compatibility break, so
we introduce it only for the virt-2.8 machine and onward;
virt-2.7 continues using the old 1K pages.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <rth@twiddle.net>
hw/arm/virt.c