target/riscv: Only build qemu-system-riscv$$ on rv$$ host
Status from this message: Applied to riscv-to-apply.next
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | target/riscv: Only unify 'riscv32/64' -> 'riscv' for host cpu in mesonmeson.build | +4 | 0 replies | |
| 2/2 | target/riscv: Only build KVM guest with same wordsize as hostmeson.build | +4 | 0 replies |
Reviews trailers per patch
None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Richard Henderson | Alistair Francis |
|---|---|---|
| Series | R-b | R-b |
| 1/2 | ||
| 2/2 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/2] target/riscv: Only build qemu-system-riscv$$ on rv$$ host
Per Anup Patel in [*]:
Quoted 5 lines
Currently, we only support running rv64 guest on rv64 host and rv32 guest on rv32 host.
In the future, we might support running rv32 guest on rv64 host but as of now we don't see a strong push for it.
Therefore, when only using the KVM accelerator it is pointless to build qemu-system-riscv32 on a rv64 host (or qemu-system-riscv64 on a rv32 host). Restrict meson to only build the correct binary, avoiding to waste ressources building unusable code.
Based-on: <[email protected]> "target/riscv: Allow building without TCG (KVM-only so far)"
https://lore.kernel.org/qemu-devel/[email protected]/
Philippe Mathieu-Daudé (2):
target/riscv: Only unify 'riscv32/64' -> 'riscv' for host cpu in meson target/riscv: Only build KVM guest with same wordsize as host
meson.build | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-)
Signature · 1 line
2.38.1