All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v2 0/4] block/parallels: 2TB+ parallels images support
@ 2014-07-28 16:23 Denis V. Lunev
  2014-07-28 16:23 ` [Qemu-devel] [PATCH v2 1/4] parallels: extend parallels format header with actual data values Denis V. Lunev
                   ` (5 more replies)
  0 siblings, 6 replies; 14+ messages in thread
From: Denis V. Lunev @ 2014-07-28 16:23 UTC (permalink / raw)
  Cc: Kevin Wolf, den, Jeff Cody, qemu-devel, Stefan Hajnoczi

Parallels has released in the recent updates of Parallels Server 5/6
new addition to his image format. Images with signature WithouFreSpacExt
have offsets in the catalog coded not as offsets in sectors (multiple
of 512 bytes) but offsets coded in blocks (i.e. header->tracks * 512)

In this case to code the virtual disk size for such images nb_sectors
field is extended to 64 bits. The reader of older images with signature
WithoutFreeSpace must manually zero most valuable bits of nb_sectors
on open.

Changes from v1:
- fixed message in patch 1
- added braces to conform qemu coding style in patches 3 & 4
- added check for ph.tracks in patch 4 to avoid offset overflow as suggested
  by Jeff

Signed-off-by: Denis V. Lunev <den@openvz.org>
CC: Kevin Wolf <kwolf@redhat.com>
CC: Stefan Hajnoczi <stefanha@redhat.com>
CC: Jeff Cody <jcody@redhat.com>

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

end of thread, other threads:[~2014-08-12 12:57 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-28 16:23 [Qemu-devel] [PATCH v2 0/4] block/parallels: 2TB+ parallels images support Denis V. Lunev
2014-07-28 16:23 ` [Qemu-devel] [PATCH v2 1/4] parallels: extend parallels format header with actual data values Denis V. Lunev
2014-08-07 14:27   ` Jeff Cody
2014-07-28 16:23 ` [Qemu-devel] [PATCH v2 2/4] parallels: replace tabs with spaces in block/parallels.c Denis V. Lunev
2014-07-28 16:23 ` [Qemu-devel] [PATCH v2 3/4] parallels: split check for parallels format in parallels_open Denis V. Lunev
2014-08-07 14:32   ` Jeff Cody
2014-07-28 16:23 ` [Qemu-devel] [PATCH v2 4/4] parallels: 2TB+ parallels images support Denis V. Lunev
2014-08-07 14:39   ` Jeff Cody
2014-08-07 15:03     ` Denis V. Lunev
2014-08-07 15:14       ` Jeff Cody
2014-08-07 15:22         ` Denis V. Lunev
2014-08-07 15:34           ` Denis V. Lunev
2014-08-07 12:41 ` [Qemu-devel] [PATCH v2 0/4] block/parallels: " Denis V. Lunev
2014-08-12 12:57 ` Stefan Hajnoczi

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.