system: Make qemu_arch_available() common code
Get series with b4
b4 am [email protected]Versions newest first
- v4 Latest5 patches 6 repliesIn review
Patches in v4 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | qemu: Document qemu_arch_available() methodinclude/ system/ | +9 | 1 reply | |
| 2/5 | qemu/target_info: Add target_s390x() helperinclude/ target-info.c | +12 | 1 reply | |
| 3/5 | hw/scsi/disk: Prefer target_s390x() over qemu_arch_available()hw/ | +2 | 1 reply | |
| 4/5 | system: Make qemu_arch_available() common codeinclude/ meson.build system/ +1 more | +39 | 1 reply | |
| 5/5 | system: Reduce 'arch_init.h' scopesystem/ | +0 | 1 reply |
Reviews trailers per patch
All 5 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Pierrick Bouvier | Thomas Huth |
|---|---|---|
| Series | R-b | |
| 1/5 | R-b | |
| 2/5 | R-b | |
| 3/5 | R-b | |
| 4/5 | R-b | |
| 5/5 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v4 0/5] system: Make qemu_arch_available() common code
- Avoid qemu_arch_available() in hw/
- Document qemu_arch_available(),
- define QEMU_ARCH_* based on SYS_EMU_TARGET_*, allowing (via with TargetInfo API) to compile arch_init.c as common,
- restrict qemu_arch_available() scope to system/ sub-directory.
---
v4: New approach
v3: Return directly within switch
v2: Prefer switch over array (pbo)
Philippe Mathieu-Daudé (5):
qemu: Document qemu_arch_available() method qemu/target_info: Add target_s390x() helper hw/scsi/disk: Prefer target_s390x() over qemu_arch_available()
system: Make qemu_arch_available() common code
system: Reduce 'arch_init.h' scope
meson.build | 2 -- include/qemu/target-info.h | 7 ++++++ include/system/arch_init.h | 30 ----------------------- system/arch_init.h | 50 ++++++++++++++++++++++++++++++++++++++ hw/scsi/scsi-disk.c | 4 +-- system/arch_init.c | 6 +++-- target-info.c | 5 ++++ system/meson.build | 2 +- 8 files changed, 69 insertions(+), 37 deletions(-) delete mode 100644 include/system/arch_init.h create mode 100644 system/arch_init.h
Signature · 1 line
2.52.0