Skip to content

exec/cpu: Cleanups around "exec/hwaddr.h" (reserved to system-mode)

Philippe Mathieu-Daudé qemu-devel 1 version Applied

Status from this message: Queued all, thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest7 patches 10 repliesApplied

Changes in v2 from the cover letter

- Do not poison hwaddr type
- Addressed Cornelia & David review comments
- Added R-b/A-b

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/7sysemu/accel: Restrict machine methods to system-modeinclude/sysemu/accel.h+2 -01 reply
2/7sysemu/tcg: Only declare tcg_allowed when TCG is availableinclude/sysemu/tcg.h+1 -10 replies
3/7sysemu/hvf: Only declare hvf_allowed when HVF is availableinclude/sysemu/hvf.h+3 -31 reply
4/7target/ppc: Restrict PPCVirtualHypervisorClass to system-modetarget/ppc/cpu.h target/ppc/kvm_ppc.h target/ppc/translate_init.inc.c+17 -130 replies
5/7target/s390x: Only compile decode_basedisp() on system-modetarget/s390x/internal.h+4 -00 replies
6/7target/s390x/helper: Clean ifdef'rytarget/s390x/helper.c+0 -50 replies
7/7target/s390x: Restrict system-mode declarationstarget/s390x/internal.h+7 -51 reply

Reviews trailers per patch

All 7 patches have a Reviewed-by or Acked-by.

PatchEdgar E. IglesiasCornelia HuckDavid GibsonDavid HildenbrandRoman Bolshakov
1/7R-b R-b R-b
2/7R-b R-b
3/7R-b R-b R-b
4/7A-b
5/7R-b
6/7R-b R-b
7/7R-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 5 reviewers.

Read the v2 thread

Cover letter [PATCH v2 0/7] exec/cpu: Cleanups around "exec/hwaddr.h" (reserved to system-mode)

The 'hwaddr' type declared in "exec/hwaddr.h" is meant for system-mode emulation only.
This series is a preparatory cleanup to allow later poisoning it in user-mode code.

Missing review: patche 7
- target/s390x: Restrict system-mode declarations

Maybe PPC/S390X maintainers can take their patches and let the rest to Paolo, or he can take all the series. They are not dependents.

Since v1:
- Do not poison hwaddr type
- Addressed Cornelia & David review comments
- Added R-b/A-b

$ git backport-diff -u v1
Key:
[----] : patches are identical
[####] : number of functional differences between upstream/downstream patch
[down] : patch is downstream-only
The flags [FC] indicate (F)unctional and (C)ontextual differences, respectively

001/7:[----] [--] 'sysemu/accel: Restrict machine methods to system-mode' 002/7:[----] [--] 'sysemu/tcg: Only declare tcg_allowed when TCG is available' 003/7:[----] [--] 'sysemu/hvf: Only declare hvf_allowed when HVF is available' 004/7:[----] [--] 'target/ppc: Restrict PPCVirtualHypervisorClass to system-mode' 005/7:[----] [--] 'target/s390x: Only compile decode_basedisp() on system-mode' 006/7:[0002] [FC] 'target/s390x/helper: Clean ifdef'ry'
007/7:[0005] [FC] 'target/s390x: Restrict system-mode declarations'

Supersedes: <[email protected]>

Philippe Mathieu-Daudé (7):
sysemu/accel: Restrict machine methods to system-mode sysemu/tcg: Only declare tcg_allowed when TCG is available sysemu/hvf: Only declare hvf_allowed when HVF is available target/ppc: Restrict PPCVirtualHypervisorClass to system-mode target/s390x: Only compile decode_basedisp() on system-mode target/s390x/helper: Clean ifdef'ry
target/s390x: Restrict system-mode declarations

 include/sysemu/accel.h          |  2 ++
 include/sysemu/hvf.h            |  6 +++---
 include/sysemu/tcg.h            |  2 +-
 target/ppc/cpu.h                |  4 ++--
 target/ppc/kvm_ppc.h            | 22 +++++++++++-----------
 target/s390x/internal.h         | 16 +++++++++++-----
 target/ppc/translate_init.inc.c |  4 ++++
 target/s390x/helper.c           |  5 -----
 8 files changed, 34 insertions(+), 27 deletions(-)
Signature · 1 line
2.21.3