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 _______________________________________________ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel