softmmu: Make various objects target agnostic
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest21 patches 1 replyIn review
- v221 patches 17 repliesSuperseded
Since v1 from the cover letter
- Simplify kvm_cpus_are_resettable (Richard)
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/21 | accel: Restrict sysemu stubs to system emulationaccel/ | +7 | 0 replies | |
| 2/21 | accel/meson: Only build hw virtualization with system emulationaccel/ | +7 | 0 replies | |
| 3/21 | exec: Declare vaddr as a generic target-agnostic typeinclude/ include/ | +13 | 0 replies | |
| 4/21 | exec: Make cpu_memory_rw_debug() target agnosticcpu.c include/ include/ +2 more | +11 | 0 replies | |
| 5/21 | sysemu/memory_mapping: Become target-agnosticinclude/ softmmu/ | +3 | 0 replies | |
| 6/21 | sysemu/kvm: Make kvm_on_sigbus() / kvm_on_sigbus_vcpu() target agnosticinclude/ | +3 | 0 replies | |
| 7/21 | accel/kvm: Simplify user-mode #ifdef'ryaccel/ | +0 | 0 replies | |
| 8/21 | accel/hax: Introduce CONFIG_HAX_IS_POSSIBLEaccel/ include/ target/ | +15 | 0 replies | |
| 9/21 | softmmu/cpus: Code movementsoftmmu/ | +5 | 0 replies | |
| 10/21 | accel: Introduce AccelOpsClass::cpu_thread_is_idle()accel/ include/ softmmu/ +1 more | +17 | 0 replies | |
| 11/21 | accel: Introduce AccelOpsClass::cpus_are_resettable()accel/ include/ include/ +1 more | +12 | 0 replies | |
| 12/21 | softmmu/globals: Remove unused 'hw/i386/*' headerssoftmmu/ | +0 | 0 replies | |
| 13/21 | softmmu/runstate: Clean headerssoftmmu/ | +1 | 0 replies | |
| 14/21 | softmmu/physmem: Remove unnecessary includesoftmmu/ | +0 | 0 replies | |
| 15/21 | softmmu/cpu-timers: Remove unused 'exec/exec-all.h' headersoftmmu/ | +0 | 0 replies | |
| 16/21 | misc: Remove unnecessary "sysemu/cpu-timers.h" includeaccel/ target/ tests/ | +0 | 0 replies | |
| 17/21 | misc: Add missing "sysemu/cpu-timers.h" includeaccel/ accel/ accel/ +3 more | +5 | 0 replies | |
| 18/21 | exec/gdbstub: Make gdb_exit() / gdb_set_stop_cpu() target agnosticinclude/ | +13 | 0 replies | |
| 19/21 | exec/cpu: Make address_space_init/reloading_memory_map target agnosticinclude/ include/ | +23 | 0 replies | |
| 20/21 | softmmu: Add qemu_init_arch_modules()include/ softmmu/ softmmu/ | +12 | 0 replies | |
| 21/21 | softmmu: Build target-agnostic objects oncesoftmmu/ | +12 | 0 replies |
Reviews trailers per patch
All 21 patches have a Reviewed-by or Acked-by.
| Patch | Paolo Bonzini | Richard Henderson | Thomas Huth |
|---|---|---|---|
| 1/21 | R-b | R-b | R-b |
| 2/21 | R-b | R-b | |
| 3/21 | R-b | R-b | |
| 4/21 | R-b | R-b | |
| 5/21 | R-b | R-b | |
| 6/21 | R-b | R-b | |
| 7/21 | R-b | R-b | |
| 8/21 | R-b | R-b | |
| 9/21 | R-b | R-b | |
| 10/21 | R-b | R-b | |
| 11/21 | R-b | R-b | |
| 12/21 | R-b | R-b | |
| 13/21 | R-b | R-b | |
| 14/21 | R-b | R-b | |
| 15/21 | R-b | R-b | |
| 16/21 | R-b | R-b | |
| 17/21 | R-b | R-b | |
| 18/21 | R-b | R-b | |
| 19/21 | R-b | R-b | |
| 20/21 | R-b | R-b | |
| 21/21 | R-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH v3 00/21] softmmu: Make various objects target agnostic
This is a re-org accel/ and softmmu/ to have more target-agnostic objects.
Series fully reviewed. Paolo, Richard, do you want me to send a pull request for this and the 'Remove "qemu/log.h"' series?
Since v1:
- Simplify kvm_cpus_are_resettable (Richard)
Since RFC:
- Rework accel/meson (Richard)
- Use vaddr in cpu_memory_rw_debug (Richard)
- Introduce CONFIG_HAX_IS_POSSIBLE (Richard)
- Introduce AccelOpsClass::cpu_thread_is_idle (Richard)
- Introduce AccelOpsClass::cpus_are_resettable (Richard)
- Add qemu_init_arch_modules (new)
Philippe Mathieu-Daudé (21):
accel: Restrict sysemu stubs to system emulation accel/meson: Only build hw virtualization with system emulation
exec: Declare vaddr as a generic target-agnostic type
exec: Make cpu_memory_rw_debug() target agnostic sysemu/memory_mapping: Become target-agnostic
sysemu/kvm: Make kvm_on_sigbus() / kvm_on_sigbus_vcpu() target
agnostic
accel/kvm: Simplify user-mode #ifdef'ry
accel/hax: Introduce CONFIG_HAX_IS_POSSIBLE
softmmu/cpus: Code movement
accel: Introduce AccelOpsClass::cpu_thread_is_idle()
accel: Introduce AccelOpsClass::cpus_are_resettable() softmmu/globals: Remove unused 'hw/i386/*' headers softmmu/runstate: Clean headers
softmmu/physmem: Remove unnecessary include softmmu/cpu-timers: Remove unused 'exec/exec-all.h' header
misc: Remove unnecessary "sysemu/cpu-timers.h" include
misc: Add missing "sysemu/cpu-timers.h" include exec/gdbstub: Make gdb_exit() / gdb_set_stop_cpu() target agnostic exec/cpu: Make address_space_init/reloading_memory_map target agnostic
softmmu: Add qemu_init_arch_modules()
softmmu: Build target-agnostic objects once
accel/kvm/kvm-accel-ops.c | 12 ++++++++++ accel/meson.build | 12 ++++++---- accel/qtest/qtest.c | 1 - accel/stubs/hax-stub.c | 2 ++ accel/stubs/kvm-stub.c | 5 ---- accel/stubs/meson.build | 11 +++++---- accel/tcg/tcg-accel-ops-icount.c | 1 + accel/tcg/tcg-accel-ops-mttcg.c | 1 + accel/tcg/tcg-accel-ops-rr.c | 1 + accel/tcg/tcg-accel-ops.c | 1 + cpu.c | 6 ++--- include/exec/cpu-all.h | 4 ---- include/exec/cpu-common.h | 39 +++++++++++++++++++++++++++++++ include/exec/exec-all.h | 26 --------------------- include/exec/gdbstub.h | 25 ++++++++++---------- include/hw/core/cpu.h | 13 +---------- include/sysemu/accel-ops.h | 3 +++ include/sysemu/arch_init.h | 2 ++ include/sysemu/hax.h | 18 +++++++++----- include/sysemu/hw_accel.h | 5 ---- include/sysemu/kvm.h | 6 ++--- include/sysemu/memory_mapping.h | 5 ++-- softmmu/arch_init.c | 9 +++++++ softmmu/cpu-timers.c | 1 - softmmu/cpus.c | 23 +++++++++++------- softmmu/globals.c | 2 -- softmmu/memory_mapping.c | 1 + softmmu/meson.build | 24 +++++++++---------- softmmu/physmem.c | 7 +++--- softmmu/runstate.c | 2 +- softmmu/vl.c | 5 +--- target/alpha/translate.c | 1 - target/i386/hax/hax-all.c | 7 +----- target/i386/whpx/whpx-accel-ops.c | 6 +++++ target/riscv/csr.c | 1 + tests/unit/ptimer-test-stubs.c | 1 - 36 files changed, 159 insertions(+), 130 deletions(-)
Signature · 1 line
2.34.1