[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-block] [PATCH 0/4] Don't write headers if BDS is INACTIVE
From: |
Jeff Cody |
Subject: |
[Qemu-block] [PATCH 0/4] Don't write headers if BDS is INACTIVE |
Date: |
Fri, 27 Oct 2017 04:57:52 -0400 |
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