[Top][All Lists]

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

[Qemu-devel] Re: RE : Re: Re: NBD server for QEMU images

From: Salvador Fandino
Subject: [Qemu-devel] Re: RE : Re: Re: NBD server for QEMU images
Date: Tue, 12 Dec 2006 19:41:00 +0100
User-agent: Icedove (X11/20061128)

Daniel Jacobowitz wrote:
> On Tue, Dec 12, 2006 at 06:33:22PM +0100, Sylvain Petreolle wrote:
>>>>> It's mostly intended to be used for accessing the files inside QEMU disk
>>>>> images locally, without having to launch a virtual machine and accessing
>>>>> then from there.
>>>> mount -o loop does this.
>>> How is everybody missing the point? :-)  mount -o loop doesn't mount
>>> qcow images.
>> Would be that difficult to write a qcow fs module ?
> Probably not, but I think using nbd for it is much nicer.  I think
> there would be trouble with partitionable devices, though.

right now, you can use "-o offset" and "-s size" to serve a partition
inside a partitioned disk image. And you can use fdisk or a similar tool
 to examine the partition table (they work on /dev/nbd0).

I am also looking for some working code to parse the MBR to incorporate
it in qemu-nbds (something as libparted but simpler), so it would be
possible to just indicate the partition number to serve.

- Salva

reply via email to

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