qemu-patch-raspberry4/softmmu
Igor Mammedov 2a7b18a320 softmmu/vl.c: fix too slow TCG regression
Commit a1b18df9a4 moved -m option parsing after configure_accelerators()
that broke TCG accelerator initialization which accesses global ram_size
from size_code_gen_buffer() which is equal to 0 at that moment.

Partially revert a1b18df9a4, by returning set_memory_options() to its
original location and only keep 32-bit host VA check and 'memory-backend'
size check introduced by fe64d06afc at current place.

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2020-02-27 17:11:20 +00:00
..
main.c softmmu: split off vl.c:main() into main.c 2020-02-22 08:26:47 +00:00
Makefile.objs softmmu: split off vl.c:main() into main.c 2020-02-22 08:26:47 +00:00
vl.c softmmu/vl.c: fix too slow TCG regression 2020-02-27 17:11:20 +00:00