diff options
author | Igor Mammedov <imammedo@redhat.com> | 2020-02-27 11:14:54 -0500 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2020-02-27 17:11:20 +0000 |
commit | 2a7b18a3205bdc18403dfa48b9746fbafeac14a0 (patch) | |
tree | c16de0c685e7e081a996cff2cd231370d4f6d8d9 /bsd-user | |
parent | db736e0437aa6fd7c1b7e4599c17f9619ab6b837 (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