[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 03/18] tcg: move qemu_tcg_configure to accel/tcg/tcg-all.c
From: |
Richard Henderson |
Subject: |
Re: [PATCH v2 03/18] tcg: move qemu_tcg_configure to accel/tcg/tcg-all.c |
Date: |
Wed, 11 Dec 2019 20:47:15 -0800 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.1 |
On 12/9/19 7:01 AM, Paolo Bonzini wrote:
> Move everything related to mttcg_enabled in accel/tcg/tcg-all.c,
> which will make even more sense when "thread" becomes a QOM property.
>
> For now, initializing mttcg_enabled in the instance_init function
> prepares for the next patch, which will only invoke qemu_tcg_configure
> when the command line includes a -accel option.
>
> Signed-off-by: Paolo Bonzini <address@hidden>
> ---
> accel/tcg/tcg-all.c | 85
> +++++++++++++++++++++++++++++++++++++++++++++++++++++
> cpus.c | 72 ---------------------------------------------
> 2 files changed, 85 insertions(+), 72 deletions(-)
Reviewed-by: Richard Henderson <address@hidden>
r~
- Re: [PATCH v2 01/18] memory: do not look at current_machine->accel, (continued)
- [PATCH v2 02/18] vl: move icount configuration earlier, Paolo Bonzini, 2019/12/09
- [PATCH v2 04/18] vl: extract accelerator option processing to a separate function, Paolo Bonzini, 2019/12/09
- [PATCH v2 05/18] vl: merge -accel processing into configure_accelerators, Paolo Bonzini, 2019/12/09
- [PATCH v2 03/18] tcg: move qemu_tcg_configure to accel/tcg/tcg-all.c, Paolo Bonzini, 2019/12/09
- [PATCH v2 06/18] accel: compile accel/accel.c just once, Paolo Bonzini, 2019/12/09
- [PATCH v2 09/18] vl: warn for unavailable accelerators, clarify messages, Paolo Bonzini, 2019/12/09
- [PATCH v2 11/18] qom: add object_new_with_class, Paolo Bonzini, 2019/12/09
- [PATCH v2 08/18] vl: configure accelerators from -accel options, Paolo Bonzini, 2019/12/09
- [PATCH v2 12/18] accel: pass object to accel_init_machine, Paolo Bonzini, 2019/12/09
- [PATCH v2 07/18] vl: introduce object_parse_property_opt, Paolo Bonzini, 2019/12/09