From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53574) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XigG9-0003TT-QG for qemu-devel@nongnu.org; Mon, 27 Oct 2014 05:06:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XigG4-0000Ru-TJ for qemu-devel@nongnu.org; Mon, 27 Oct 2014 05:06:41 -0400 Received: from mailhub.sw.ru ([195.214.232.25]:29048 helo=relay.sw.ru) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XigG4-0000Mm-GL for qemu-devel@nongnu.org; Mon, 27 Oct 2014 05:06:36 -0400 From: "Denis V. Lunev" Date: Mon, 27 Oct 2014 12:07:03 +0300 Message-Id: <1414400832-17798-1-git-send-email-den@openvz.org> Subject: [Qemu-devel] [PATCH 0/9] parallels format support improvements List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Kevin Wolf , Jeff Cody , qemu-devel@nongnu.org, Stefan Hajnoczi , Roman Kagan This patchset contains my previous patchset sent originally 08.10.2014 with minor Valgrind fix and iotests update as a base. The patchset implements additional compatibility bits for Parallels format: - initial support of parsing of Parallels DiskDeskriptor.xml Typically Parallels disk bundle consists of several images which are glued by XML disk descriptor. Also XML hides inside several important parameters which are not available in the image header. - support for padded Parallels images. For the time being Parallels was created an optimization for such OSes in its desktop product. Desktop users are not qualified enough to create properly aligned installations. Thus Parallels makes a blind guess on a customer behalf and creates so-called "padded" images if guest OS type is specified as WinXP, Win2k and Win2k3. The code uses approach from VMDK support, either image or XML descriptor could be used. Though there is temporary hack in the opening code: BlockDriverState->file is being reopened inside parallels_open. I prefer to keep this code in this state till proper Parallels snapshots support in order to minimize current changes. CC: Jeff Cody CC: Kevin Wolf CC: Stefan Hajnoczi CC: Roman Kagan