On 12/9/19 7:01 AM, Paolo Bonzini wrote: > Once qemu_tcg_configure is turned into a QOM property setter, it will not > be able to set a default value for mttcg_enabled. Setting the default will > move to the TCG instance_init function, which currently runs before "-icount" > is processed. > > However, it is harmless to do configure_icount for all accelerators; we will > just fail later if a non-TCG accelerator is selected. So do that. > > Reviewed-by: Marc-André Lureau <marcandre.lur...@redhat.com> > Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> > --- > vl.c | 18 +++++++++++------- > 1 file changed, 11 insertions(+), 7 deletions(-)
Reviewed-by: Richard Henderson <richard.hender...@linaro.org> r~