[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [PATCH v3 12/28] accel/tcg: Merge tcg_exec_init into tcg_init_machin
From: |
Luis Fernando Fujita Pires |
Subject: |
RE: [PATCH v3 12/28] accel/tcg: Merge tcg_exec_init into tcg_init_machine |
Date: |
Wed, 9 Jun 2021 14:58:05 +0000 |
From: Richard Henderson <richard.henderson@linaro.org>
> There is only one caller, and shortly we will need access to the MachineState,
> which tcg_init_machine already has.
>
> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
> ---
> accel/tcg/internal.h | 2 ++
> include/sysemu/tcg.h | 2 --
> accel/tcg/tcg-all.c | 14 +++++++++++++-
> accel/tcg/translate-all.c | 21 ++-------------------
> 4 files changed, 17 insertions(+), 22 deletions(-)
Nitpicking: there's a comment in bsd-user/main.c's main() that should be
updated now that tcg_exec_init() no longer exists. Currently:
934 /*
935 * Now that page sizes are configured in tcg_exec_init() we can do
936 * proper page alignment for guest_base.
937 */
938 guest_base = HOST_PAGE_ALIGN(guest_base);
Reviewed-by: Luis Pires <luis.pires@eldorado.org.br>
--
Luis Pires
Instituto de Pesquisas ELDORADO
Aviso Legal - Disclaimer <https://www.eldorado.org.br/disclaimer.html>