Skip to content

block/vpc: Clean up some buffer abuse

Markus Armbruster qemu-devel 1 version Applied

Status from this message: Thanks, applied to the block branch.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 14 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/9block/vpc: Make vpc_open() read the full dynamic headerblock/vpc.c+4 -43 replies
2/9block/vpc: Don't abuse the footer buffer as BAT sector bufferblock/vpc.c+3 -21 reply
3/9block/vpc: Don't abuse the footer buffer for dynamic headerblock/vpc.c+12 -102 replies
4/9block/vpc: Make vpc_checksum() take void *block/vpc.c+2 -12 replies
5/9block/vpc: Pad VHDDynDiskHeader, replace uint8_t[] buffersblock/vpc.c+19 -221 reply
6/9block/vpc: Use sizeof() instead of 1024 for dynamic header sizeblock/vpc.c+5 -41 reply
7/9block/vpc: Pad VHDFooter, replace uint8_t[] buffersblock/vpc.c+37 -401 reply
8/9block/vpc: Pass footer buffers as VHDFooter * instead of uint8_t *block/vpc.c+7 -71 reply
9/9block/vpc: Use sizeof() instead of HEADER_SIZE for footer sizeblock/vpc.c+14 -151 reply

Reviews trailers per patch

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

PatchMax Reitz
1/9R-b
2/9R-b
3/9R-b
4/9R-b
5/9R-b
6/9R-b
7/9R-b
8/9R-b
9/9R-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/9] block/vpc: Clean up some buffer abuse

Markus Armbruster (9):
block/vpc: Make vpc_open() read the full dynamic header block/vpc: Don't abuse the footer buffer as BAT sector buffer block/vpc: Don't abuse the footer buffer for dynamic header block/vpc: Make vpc_checksum() take void *
block/vpc: Pad VHDDynDiskHeader, replace uint8_t[] buffers block/vpc: Use sizeof() instead of 1024 for dynamic header size block/vpc: Pad VHDFooter, replace uint8_t[] buffers block/vpc: Pass footer buffers as VHDFooter * instead of uint8_t * block/vpc: Use sizeof() instead of HEADER_SIZE for footer size

 block/vpc.c | 146 ++++++++++++++++++++++++++--------------------------
 1 file changed, 72 insertions(+), 74 deletions(-)
Signature · 1 line
2.26.2