aboutsummaryrefslogtreecommitdiff
path: root/bsd-user
diff options
context:
space:
mode:
authorIgor Mammedov <imammedo@redhat.com>2020-02-27 11:14:54 -0500
committerPeter Maydell <peter.maydell@linaro.org>2020-02-27 17:11:20 +0000
commit2a7b18a3205bdc18403dfa48b9746fbafeac14a0 (patch)
treec16de0c685e7e081a996cff2cd231370d4f6d8d9 /bsd-user
parentdb736e0437aa6fd7c1b7e4599c17f9619ab6b837 (diff)
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>
Diffstat (limited to 'bsd-user')
0 files changed, 0 insertions, 0 deletions