Few changes needed before being able to add the split acceleration. Mostly adapting few prototypes so callees have all necessary information.
Philippe Mathieu-Daudé (19): hw/arm/virt: Only require TCG || QTest to use virtualization extension system/cpus: Only kick running vCPUs accel: Keep reference to AccelOpsClass in AccelClass accel: Propagate AccelState to AccelClass::init_machine() accel/kvm: Prefer local AccelState over global MachineState::accel accel/hvf: Fix TYPE_HVF_ACCEL instance size accel/hvf: Re-use QOM allocated state accel/tcg: Prefer local AccelState over global current_accel() accel: Factor accel_cpu_realize() out accel/dummy: Factor dummy_thread_precreate() out accel/dummy: Factor tcg_vcpu_thread_precreate() out accel: Factor accel_create_vcpu_thread() out accel: Introduce AccelOpsClass::cpu_thread_routine handler accel/dummy: Convert to AccelOpsClass::cpu_thread_routine accel/tcg: Convert to AccelOpsClass::cpu_thread_routine accel/hvf: Convert to AccelOpsClass::cpu_thread_routine accel/kvm: Convert to AccelOpsClass::cpu_thread_routine accel/nvmm: Convert to AccelOpsClass::cpu_thread_routine accel/whpx: Convert to AccelOpsClass::cpu_thread_routine accel/accel-internal.h | 2 ++ accel/tcg/tcg-accel-ops-mttcg.h | 3 +- accel/tcg/tcg-accel-ops.h | 1 + include/qemu/accel.h | 8 ++++- include/system/accel-ops.h | 5 +++- include/system/cpus.h | 5 ++-- include/system/hvf_int.h | 1 + accel/accel-common.c | 49 +++++++++++++++++++++++++++++-- accel/accel-system.c | 5 ++-- accel/dummy-cpus.c | 10 ++----- accel/hvf/hvf-accel-ops.c | 25 +++------------- accel/kvm/kvm-accel-ops.c | 12 +------- accel/kvm/kvm-all.c | 6 ++-- accel/qtest/qtest.c | 5 ++-- accel/tcg/tcg-accel-ops-mttcg.c | 17 +---------- accel/tcg/tcg-accel-ops-rr.c | 3 +- accel/tcg/tcg-accel-ops.c | 14 +++++++-- accel/tcg/tcg-all.c | 4 +-- accel/xen/xen-all.c | 3 +- bsd-user/main.c | 2 +- hw/arm/virt.c | 2 +- linux-user/main.c | 2 +- system/cpus.c | 9 ++++-- target/i386/nvmm/nvmm-accel-ops.c | 12 +------- target/i386/nvmm/nvmm-all.c | 2 +- target/i386/whpx/whpx-accel-ops.c | 12 +------- target/i386/whpx/whpx-all.c | 2 +- 27 files changed, 110 insertions(+), 111 deletions(-) -- 2.49.0