Skip to content

block/vvfat: introduce "fat-size" option

Clément Chigot qemu-devel 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest5 patches 6 repliesIn review
  2. v25 patches 31 repliesSuperseded
  3. v15 patches 30 repliesSuperseded

Changes in v3 from the cover letter

- patch 1:
- change default: true for hard disk, false for false.
- remove "unpartitioned" keyword within filename
- patch 5
- rename option "fs-size"

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5vvfat: introduce partitioned optionblock/vvfat.c qapi/block-core.json+23 -63 replies
2/5vvfat: move fat_type check prior to size setupblock/vvfat.c+22 -211 reply
3/5vvfat: add a define for VVFAT_SECTOR_BITS and VVFAT_SECTOR_SIZEblock/vvfat.c+66 -530 replies
4/5vvfat: move size parameters within driver structureblock/vvfat.c+23 -190 replies
5/5vvfat: add support for "fs-size" optionblock/vvfat.c qapi/block-core.json+155 -160 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH v3 0/5] block/vvfat: introduce "fat-size" option

The main goal of this series is to introduce a new option "fat-size" within the vvfat backend (patch 5).

This series also includes minor patches:
- patch 1 introduces another option to create unpartitionned disks.
- patch 2-4 are minor improvements easing the introducing of "fat-size" option

This was tested on with a aarch64-linux kernel taken from functional/aarch64/test-virt and on aarch64-qnx over raspi4b with a workaround, not included here (the SD bus must be associated to the EMMC2 port instead of through GPIOs).

Changes since v2:
- patch 1:
- change default: true for hard disk, false for false.
- remove "unpartitioned" keyword within filename
- patch 5
- rename option "fs-size"

Clément Chigot (5):
vvfat: introduce partitioned option
vvfat: move fat_type check prior to size setup
vvfat: add a define for VVFAT_SECTOR_BITS and VVFAT_SECTOR_SIZE
vvfat: move size parameters within driver structure
vvfat: add support for "fs-size" option

 block/vvfat.c        | 350 +++++++++++++++++++++++++++++++------------
 qapi/block-core.json |  16 +-
 2 files changed, 270 insertions(+), 96 deletions(-)
Signature · 1 line
2.43.0