Skip to content

Fix qdev 32-bit compilation

Richard Henderson qemu-devel 2 versions Applied

Status from this message: Applied. Thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 2 repliesApplied
  2. v12 patches 0 repliesSuperseded

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/2qdev: Fix 32-bit compilation in print_sizehw/core/qdev-properties.c+1 -11 reply
2/2qdev: Use clz in print_sizehw/core/qdev-properties.c+13 -70 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchAndreas Färber
1/2R-b
2/2

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

Read the v2 thread

Cover letter [Qemu-devel] [PATCH v2 0/2] Fix qdev 32-bit compilation

The patch e8cd45c78f53501e75bd455140da63d1b7ed3685 broke compilation on 32-bit with a 40-bit shift of "long int".

The first patch is the trivial fix for that bug.

The second patch is an optional improvement that avoids the division loop entirely.

r~

--
V2: Fixing erroneous email from mis-configured vm.

Richard Henderson (2):
qdev: Fix 32-bit compilation in print_size
qdev: Use clz in print_size

 hw/core/qdev-properties.c | 20 +++++++++++++-------
 1 file changed, 13 insertions(+), 7 deletions(-)
Signature · 1 line
1.8.3.1