Skip to content

Replace variable length arrays in ppc KVM code

Thomas Huth qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3target/ppc/kvm: Replace variable length array in kvmppc_save_htab()target/ppc/kvm.c+1 -12 replies
2/3target/ppc/kvm: Replace variable length array in kvmppc_read_hptes()target/ppc/kvm.c+2 -21 reply
3/3meson: Enable -Wvlameson.build+1 -05 replies

Reviews trailers per patch

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

PatchPeter MaydellPhilippe Mathieu-Daudé
1/3R-b
2/3R-b
3/3R-b T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] Replace variable length arrays in ppc KVM code

It would be good to enable -Wvla as an additional security feature
when compiling QEMU (see also Peter's explanation here:
https://lore.kernel.org/qemu-devel/[email protected]/ ). There are currently only two spots with variable lengths arrays left,
so if we fix those, we can finally enable the -Wvla compiler switch.

Peter Maydell (1):
meson: Enable -Wvla

Thomas Huth (2):
target/ppc/kvm: Replace variable length array in kvmppc_save_htab() target/ppc/kvm: Replace variable length array in kvmppc_read_hptes()

 meson.build      | 1 +
 target/ppc/kvm.c | 6 +++---
 2 files changed, 4 insertions(+), 3 deletions(-)
Signature · 1 line
2.43.2