Register accel-$cpu_type for all targets
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v5 Latest3 patches 6 repliesIn review
- v43 patches 5 repliesSuperseded
- v33 patches 1 replySuperseded
Earlier versions · 2
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v2 | 3 patches | 5 replies | Superseded | |
| v1 | 2 patches | 3 replies | Superseded |
Changes in v5 from the cover letter
- Drop test_accel_cpu_parent(). test_qom_types_are_unique() already instantiates every QOM type
Patches in v5 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | accel: register CPU parent only for AccelCPU subclassesaccel/ include/ target/ +3 more | +18 | 5 replies | |
| 2/3 | Revert "target/riscv/kvm: restrict kvm-accel-riscv-cpu to riscv targets"target/ | +0 | 0 replies | |
| 3/3 | Revert "target/riscv/tcg: restrict tcg-accel-riscv-cpu to riscv targets"target/ | +0 | 0 replies |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | Pierrick Bouvier |
|---|---|
| 1/3 | R-b T-b |
| 2/3 | R-b |
| 3/3 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v5 0/3] Register accel-$cpu_type for all targets
A multi-target system binary links more than one target. accel_cpu_register_type() creates the abstract parent accel-$cpu_type for each target that has an AccelCPU subclass. ARM, i386, RISC-V, and PowerPC call it. Other targets have no such subclass, and machine init skips a missing class.
test-multi-target already instantiates every QOM type, so this series adds no parent check.
This is an alternative to gating accelerator CPU types with is_available. The RISC-V TCG and KVM gates are reverted here as redundant.
v4: https://lore.kernel.org/qemu-devel/[email protected]/
Changes v4 -> v5:
- Drop test_accel_cpu_parent(). test_qom_types_are_unique() already instantiates every QOM type
Yonggang Luo (3):
accel: register CPU parent only for AccelCPU subclasses Revert "target/riscv/kvm: restrict kvm-accel-riscv-cpu to riscv
targets"
Revert "target/riscv/tcg: restrict tcg-accel-riscv-cpu to riscv
targets"
accel/accel-common.c | 6 ++---- include/accel/accel-cpu.h | 2 ++ target/arm/cpu.c | 2 ++ target/i386/cpu.c | 2 ++ target/ppc/cpu_init.c | 2 ++ target/riscv/cpu.c | 8 ++++++++ target/riscv/kvm/kvm-cpu.c | 2 -- target/riscv/tcg/tcg-cpu.c | 1 - 8 files changed, 18 insertions(+), 7 deletions(-)
Signature · 1 line
2.55.0.windows.3