[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] block device loopback

From: Jim C. Brown
Subject: Re: [Qemu-devel] block device loopback
Date: Thu, 1 Jun 2006 12:50:11 -0400
User-agent: Mutt/

I'm working on something that does just this. I'm calling it vda (its based
on lomount), and it provides access to vda, vda1, vda2, etc.

I don't see why you are unable to use the disk image as is though. lomount and
similar tools should be able to handle the job quite easily.

On Thu, Jun 01, 2006 at 06:08:56PM +0200, s[e]th & h[o]lth wrote:
> 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 !

> _______________________________________________
> Qemu-devel mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/qemu-devel

Infinite complexity begets infinite beauty.
Infinite precision begets infinite perfection.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]