summary refs log tree commit diff stats
path: root/hw/core/machine.c
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 /hw/core/machine.c
parentdb736e0437aa6fd7c1b7e4599c17f9619ab6b837 (diff)
downloadfocaccia-qemu-2a7b18a3205bdc18403dfa48b9746fbafeac14a0.tar.gz
focaccia-qemu-2a7b18a3205bdc18403dfa48b9746fbafeac14a0.zip
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 'hw/core/machine.c')
0 files changed, 0 insertions, 0 deletions