All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/4] Don't write headers if BDS is INACTIVE
@ 2017-10-27  8:57 Jeff Cody
  2017-10-27  8:57 ` [Qemu-devel] [PATCH 1/4] block/vhdx.c: Don't blindly update the header Jeff Cody
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Jeff Cody @ 2017-10-27  8:57 UTC (permalink / raw)
  To: qemu-block; +Cc: qemu-devel, kwolf, aik, mreitz, den, stefanha

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2017-10-29  8:59 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-27  8:57 [Qemu-devel] [PATCH 0/4] Don't write headers if BDS is INACTIVE Jeff Cody
2017-10-27  8:57 ` [Qemu-devel] [PATCH 1/4] block/vhdx.c: Don't blindly update the header Jeff Cody
2017-10-27  8:57 ` [Qemu-devel] [PATCH 2/4] block/parallels: code movement Jeff Cody
2017-10-27  8:57 ` [Qemu-devel] [PATCH 3/4] block/parallels: Don't update header until the first actual write Jeff Cody
2017-10-27  9:09   ` Kevin Wolf
2017-10-27 10:18     ` Jeff Cody
2017-10-29  8:59       ` Kevin Wolf
2017-10-27 12:13   ` Denis V. Lunev
2017-10-27  8:57 ` [Qemu-devel] [PATCH 4/4] qemu-iotests: update unsupported image formats in 194 Jeff Cody

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.