VHDX and Parallels both blindly write headers to the image file if the images are opened R/W. This causes an assert if the QEMU run state is INMIGRATE. Rather than blindly write on open, latch the first write to the image, and update the header then.
Jeff Cody (4): block/vhdx.c: Don't blindly update the header block/parallels: code movement block/parallels: Don't update header until the first actual write qemu-iotests: update unsupported image formats in 194 block/parallels.c | 49 ++++++++++++++++++++++++++++++++----------------- block/vhdx.c | 7 ------- tests/qemu-iotests/194 | 2 +- 3 files changed, 33 insertions(+), 25 deletions(-) -- 2.13.6
