From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FlpjJ-0003xY-Gu for qemu-devel@nongnu.org; Thu, 01 Jun 2006 12:09:01 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FlpjH-0003vh-SK for qemu-devel@nongnu.org; Thu, 01 Jun 2006 12:09:01 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FlpjH-0003vH-Ie for qemu-devel@nongnu.org; Thu, 01 Jun 2006 12:08:59 -0400 Received: from [64.233.182.190] (helo=nf-out-0910.google.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FlppY-0004ex-6I for qemu-devel@nongnu.org; Thu, 01 Jun 2006 12:15:28 -0400 Received: by nf-out-0910.google.com with SMTP id y38so526168nfb for ; Thu, 01 Jun 2006 09:08:57 -0700 (PDT) Message-ID: <5370f2820606010908w7204c1afr17132397ec625c76@mail.gmail.com> Date: Thu, 1 Jun 2006 18:08:56 +0200 From: "s[e]th & h[o]lth" MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_3324_15678585.1149178136371" Subject: [Qemu-devel] block device loopback 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 ------=_Part_3324_15678585.1149178136371 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Hello, I'm a qemu user and I'm looking for a way to use my virtual target drive inside my host computer. I've created a file that I'll call hda.disk like this : "dd if=/dev/zer of= hda.disk count=1 bs=1M seek=1023" and i use it like "qemu -hda hda.disk" The problem i meet is that i can't use this file outside the virtual machine and I'm trying to program a block device driver to read this file as a IDE drive. The aim of this driver is quite similar to the loop driver but instead of "emulating" a partition, it emulates a IDE Hard Drive and give an access to it via /dev/vdX and it's partition via /dev/vdXpY. Perhaps you will wonder why i use the qemu's mailing-list for this problem : - i don't know exactly where i can find a way to achieve this project ; - i wonder how you read your hda.disk without using qemu ; - i would like to know how qemu fix the virtual drive property inside the virtual machine (cylinders, sectors, etc...) ; - i don't know anyone interested by this problem and quite good enough linux driver developer to help me. Thank you very much and have a nice day ! ------=_Part_3324_15678585.1149178136371 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hello,

I'm a qemu user and I'm looking for a way to use my virtual target drive inside my host computer.
I've created a file that I'll call hda.disk like this : "dd if=/dev/zer of=hda.disk count=1 bs=1M seek=1023" and i use it like "qemu -hda hda.disk "
The problem i meet is that i can't use this file outside the virtual machine and I'm trying to program a block device driver to read this file as a IDE drive.
The aim of this driver is quite similar to the loop driver but instead of "emulating" a partition, it emulates a IDE Hard Drive and give an access to it via /dev/vdX and it's partition via /dev/vdXpY.
Perhaps you will wonder why i use the qemu's mailing-list for this problem :
- i don't know exactly where i can find a way to achieve this project ;
- i wonder how you read your hda.disk without using qemu ;
- i would like to know how qemu fix the virtual drive property inside the virtual machine (cylinders, sectors, etc...) ;
- i don't know anyone interested by this problem and quite good enough linux driver developer to help me.

Thank you very much and have a nice day !
------=_Part_3324_15678585.1149178136371--