boot: 0.918 device: 0.886 files: 0.871 graphic: 0.777 semantic: 0.724 performance: 0.711 socket: 0.477 permissions: 0.446 PID: 0.420 vnc: 0.420 network: 0.385 debug: 0.362 other: 0.183 KVM: 0.154 QEMU 7.0.0 corrupts VHDX and VHD (VPC) files on write. Description of problem: QEMU writes to VHDX and VHD (VPC) files produce a corrupt/non-compliant image. QEMU appears to be able to read VHDX and VHD images correctly. This problem manifests in at least two cases 1. When attaching a VHDX/VHD file to a QEMU machine. A previously working OS image created using the Hyper-V and imaging tools boots properly, but writes that normally occur in the running VM are not written out correctly. The image will fail to boot the next time due to corruption. 2. Image conversion operations *TO* VHDX/VHD fail. (note that QEMU correctly converts *FROM* VHDX/VHD assuming a well formed input image). This implies that reads to VHDX/VHD are OK, but writes to VHDX/VHD are NOT OK. Steps to reproduce: 1. See Above. Additional information: