Skip to content
Snippets Groups Projects
Commit efba8ae9 authored by Richard Henderson's avatar Richard Henderson
Browse files

accel/tcg: Use MiB in tcg_init_machine


Reviewed-by: default avatarAlex Bennée <alex.bennee@linaro.org>
Reviewed-by: default avatarLuis Pires <luis.pires@eldorado.org.br>
Reviewed-by: default avatarPhilippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: default avatarRichard Henderson <richard.henderson@linaro.org>
parent fa79cde6
No related branches found
No related tags found
No related merge requests found
......@@ -32,6 +32,7 @@
#include "qemu/error-report.h"
#include "qemu/accel.h"
#include "qapi/qapi-builtin-visit.h"
#include "qemu/units.h"
#include "internal.h"
struct TCGState {
......@@ -115,7 +116,7 @@ static int tcg_init_machine(MachineState *ms)
page_init();
tb_htable_init();
tcg_init(s->tb_size * 1024 * 1024, s->splitwx_enabled);
tcg_init(s->tb_size * MiB, s->splitwx_enabled);
#if defined(CONFIG_SOFTMMU)
/*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment