Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1C0cHQ-0002dq-VT for qemu-devel@nongnu.org; Fri, 27 Aug 2004 04:40:17 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1C0cHM-0002d1-Th for qemu-devel@nongnu.org; Fri, 27 Aug 2004 04:40:16 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C0cHM-0002cX-PE for qemu-devel@nongnu.org; Fri, 27 Aug 2004 04:40:12 -0400 Received: from [206.190.39.133] (helo=web52508.mail.yahoo.com) by monty-python.gnu.org with smtp (Exim 4.34) id 1C0cCU-0007pY-Bh for qemu-devel@nongnu.org; Fri, 27 Aug 2004 04:35:10 -0400 Message-ID: <20040827083510.18864.qmail@web52508.mail.yahoo.com> Date: Fri, 27 Aug 2004 01:35:10 -0700 (PDT) From: Piotr Krysik Subject: Re: [Qemu-devel] QEMU with KNOPPIX In-Reply-To: <20040827.150638.35024648.k.suzaki@aist.go.jp> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Kuniyasu Suzaki Cc: qemu-devel@nongnu.org Hi, It can work in Windows, if you implement support of cloop-compatible image format in Qemu executable. Just look at qcow compressed image format. Qemu doesn't require any additional services from host OS. The decompression is implemented by Qemu and is transparent for guest. The example I gave is meant to help you evaluate benefits before starting implementation of cloop image format for Qemu. Regards, Piotrek --- Kuniyasu Suzaki wrote: > >>From: Piotr Krysik > >>Subject: Re: [Qemu-devel] QEMU with KNOPPIX > >> > >>Hi, > >> > >>Probably a lot of CPU is spend on decompressing > >>in CLOOP driver. Maybe it could be possible to > >>do decompression natively and not under emulated > >>CPU. > >> > >>You can start with an exercise. Setup CLOOP on > >>your host (e.g. run Knoppix natively), then run > >>another Knoppix inside Qemu, but give it access > >>to your CLOOP device as an ide drive: > >> qemu ... -cdrom /dev/cdrom -hda /dev/ cloop> > >>Now try to use your host cloop device inside > Qemu. > > Yes, this idea might be effective on QEMU/Linux. > Same idea is used on user-mode-linux of our KNOPPIX. > > http://unit.aist.go.jp/it/knoppix/uml/index-en.html > > But we cann't mount CLOOP file on Windows. > > >>E.g. mount it instead of guest cloop: > >> mount ... /dev/hda > >>Play with it. If the performance difference > >>is substantial, it may justify extra effort > >>to implement cloop compatible Qemu disk format > >>(I guess qcow is not compatible with cloop), > >>so it can be used on Windows. __________________________________ Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers! http://promotions.yahoo.com/new_mail