From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=55742 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q7S83-0006mf-Al for qemu-devel@nongnu.org; Wed, 06 Apr 2011 08:46:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q7S82-0001DT-5o for qemu-devel@nongnu.org; Wed, 06 Apr 2011 08:46:35 -0400 Received: from mail-yx0-f173.google.com ([209.85.213.173]:40266) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q7S82-0001DC-3T for qemu-devel@nongnu.org; Wed, 06 Apr 2011 08:46:34 -0400 Received: by yxk8 with SMTP id 8so688512yxk.4 for ; Wed, 06 Apr 2011 05:46:33 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: Date: Wed, 6 Apr 2011 13:46:33 +0100 Message-ID: Subject: Re: [Qemu-devel] GSoC - QCOW2 <-> QED image converter From: Stefan Hajnoczi Content-Type: text/plain; charset=ISO-8859-1 List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Lyu Mitnick Cc: Kevin Wolf , qemu-devel@nongnu.org On Wed, Apr 6, 2011 at 12:13 PM, Lyu Mitnick wrote: > Hello Stefan, > "splitting hard disk images" feature depends on win32 file system. I am > wondering > whether it is suitable to implement in raw-win32.c?? No, raw-win32.c is not the right place to do this. If I create a split file with VirtualPC under Windows 2000 and then transfer it to my Linux host then QEMU should still be able to read the file. This feature is not tied to the host platform or file system. It is block/vpc.c that needs to handle this. The first file can be opened as normal because it has the header. The code can detect that the image file is split and simply open additional files as necessary. Stefan