From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EMttP-0006cI-Ey for qemu-devel@nongnu.org; Tue, 04 Oct 2005 17:00:07 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EMtsy-0006PW-Po for qemu-devel@nongnu.org; Tue, 04 Oct 2005 16:59:43 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EMtss-0006K2-MP for qemu-devel@nongnu.org; Tue, 04 Oct 2005 16:59:34 -0400 Received: from [203.190.192.17] (helo=wasp.net.au) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EMtZr-0006Kz-N2 for qemu-devel@nongnu.org; Tue, 04 Oct 2005 16:39:56 -0400 Message-ID: <4342E8B7.8050507@wasp.net.au> Date: Wed, 05 Oct 2005 00:40:23 +0400 From: Brad Campbell MIME-Version: 1.0 Subject: Re: [Qemu-devel] [patch] non-blocking disk IO References: <4340D479.7030301@stanfordalumni.org> In-Reply-To: <4340D479.7030301@stanfordalumni.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org John Coiner wrote: > > Non-blocking disk IO now works for any type of disk image, not just > "raw" format. There is no longer any format-specific code in the patch: > > http://people.brandeis.edu/~jcoiner/qemu_idedma/qemu_dma_patch.html > > You might want this patch if: > * you run a multitasking guest OS, > * you access a disk sometimes, and > * you wouldn't mind if QEMU ran a little faster. > > Why I have not got feedback in droves I do not understand ;) I have 3 or 4 images here (of different flavours of windows from 95 -> XP) that I have base images about 4G and then I use qcow files to do my testing and other damaging stuff to. With this patch qemu will not boot the qcow files but will boot the base images (I copy them and then try to boot to test). As soon as I patch -R && make, qemu will boot the qcow files no problems.. Let me clarify that.. qemu-img create -f qcow xp.img 4G qemu -cdrom xp.iso -hda xp.img -boot d (Install XP from scratch) qemu-img create -b xp.img -f qcow xp2.img qemu -hda xp2.img This gives me an invalid hard disk error. If I revert the patch I can boot from xp2.img with no issues. With or without the patch I can boot from xp.img. I have tried installing XP with and without the patch and that works fine.. Regards, Brad -- "Human beings, who are almost unique in having the ability to learn from the experience of others, are also remarkable for their apparent disinclination to do so." -- Douglas Adams