[PATCH v2 2/3] Add iotest for 4k sector size vhdx

2024-12-05 Thread Takeshi Suzuki
See https://github.com/takeshibaconsuzuki/qemu/blob/vhdx_4k_rw/tests/qemu-iotests/sample_images/4k.vhdx.bz2 for binary file. Signed-off-by: Takeshi Suzuki --- tests/qemu-iotests/315 | 65 +++ tests/qemu-iotests/315.out | 20 ++ tests

[PATCH v2 1/3] Add RW support for 4k sector size vhdx

2024-12-05 Thread Takeshi Suzuki
Signed-off-by: Takeshi Suzuki --- block/vhdx.c | 76 +++- 1 file changed, 70 insertions(+), 6 deletions(-) diff --git a/block/vhdx.c b/block/vhdx.c index 5aa1a13506..495ddc2815 100644 --- a/block/vhdx.c +++ b/block/vhdx.c @@ -824,8 +824,8

[PATCH v2 3/3] Add VHDX specific image info

2024-12-05 Thread Takeshi Suzuki
Show logical sector size as follows: ``` Format specific information: logical sector size: 4096 ``` Signed-off-by: Takeshi Suzuki --- block/vhdx.c | 21 + qapi/block-core.json | 27 +-- 2 files changed, 46 insertions(+), 2 deletions

[PATCH v2 0/3] Add RW support for 4k sector size vhdx

2024-12-05 Thread Takeshi Suzuki
a VHDX image with 4k logical sector size. The third patch adds logical sector size to VHDX specific image info. ``` Format specific information: logical sector size: 4096 ``` Takeshi Suzuki (3): Add RW support for 4k sector size vhdx Add iotest for 4k sector size vhdx Add VHDX

[PATCH 1/2] Add RW support for 4k sector size vhdx

2024-11-12 Thread Takeshi Suzuki
Signed-off-by: Takeshi Suzuki --- block/vhdx.c | 76 +++- 1 file changed, 70 insertions(+), 6 deletions(-) diff --git a/block/vhdx.c b/block/vhdx.c index 5aa1a13506..495ddc2815 100644 --- a/block/vhdx.c +++ b/block/vhdx.c @@ -824,8 +824,8

[PATCH 0/2] Add RW support for 4k sector size vhdx

2024-11-12 Thread Takeshi Suzuki
a VHDX image with 4k logical sector size. Takeshi Suzuki (2): Add RW support for 4k sector size vhdx Add iotest for 4k sector size vhdx block/vhdx.c | 76 +-- tests/qemu-iotests/315 | 65 tests/qemu

[PATCH 2/2] Add iotest for 4k sector size vhdx

2024-11-12 Thread Takeshi Suzuki
See https://github.com/takeshibaconsuzuki/qemu/blob/vhdx_4k_rw/tests/qemu-iotests/sample_images/4k.vhdx.bz2 for binary file. Signed-off-by: Takeshi Suzuki --- tests/qemu-iotests/315 | 65 +++ tests/qemu-iotests/315.out | 20 ++ tests