Received: from eggs.gnu.org ([2001:4830:134:3::10]:46005) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XBnhY-0006id-54 for qemu-devel@nongnu.org; Mon, 28 Jul 2014 12:23:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XBnhS-0000KI-Da for qemu-devel@nongnu.org; Mon, 28 Jul 2014 12:23:04 -0400 Received: from mailhub.sw.ru ([195.214.232.25]:38135 helo=relay.sw.ru) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XBnhS-0000D6-20 for qemu-devel@nongnu.org; Mon, 28 Jul 2014 12:22:58 -0400 From: "Denis V. Lunev" Date: Mon, 28 Jul 2014 20:23:51 +0400 Message-Id: <1406564635-261591-1-git-send-email-den@openvz.org> Subject: [Qemu-devel] [PATCH v2 0/4] block/parallels: 2TB+ parallels images support List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Kevin Wolf , den@openvz.org, Jeff Cody , qemu-devel@nongnu.org, 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 CC: Kevin Wolf CC: Stefan Hajnoczi CC: Jeff Cody