tcg: move qemu_tcg_configure to accel/tcg/tcg-all.c
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 14 Nov 2019 09:40:27 +0000 (10:40 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 17 Dec 2019 18:32:25 +0000 (19:32 +0100)
commitaf0440ae8521b9c173062cce4f231ae981bb9044
tree86df0dca0dce2587dc6d60659d39425b62771f95
parent7f8b6126e7d4417a7faa8fdd18d5870d937aadf8
tcg: move qemu_tcg_configure to accel/tcg/tcg-all.c

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 <pbonzini@redhat.com>
accel/tcg/tcg-all.c
cpus.c
This page took 0.02593 seconds and 4 git commands to generate.