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 @@ vhdx_p
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/
The first patch adds support to read and write VHDX images with 4k logical
sector sizes. This is done by internally converting bdrv sectors of size 512 to
logical sectors. VHDX image creation with 4k logical sector size is NOT
implemented.
The second patch adds an iotest which reads and writes to