All of lore.kernel.org
 help / color / mirror / Atom feed
From: Salvador Fandino <sfandino@yahoo.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] Re: RE : Re: Re: NBD server for QEMU images
Date: Tue, 12 Dec 2006 19:41:00 +0100	[thread overview]
Message-ID: <elmspi$bco$1@sea.gmane.org> (raw)
In-Reply-To: <20061212174214.GA25284@nevyn.them.org>

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	other threads:[~2006-12-12 18:35 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-12 12:48 [Qemu-devel] NBD server for QEMU images Salvador Fandiño
2006-12-12 13:37 ` Martin Guy
2006-12-12 17:00   ` [Qemu-devel] " Salvador Fandino
2006-12-12 16:58     ` Paul Brook
2006-12-12 17:13       ` Daniel Jacobowitz
2006-12-12 17:33         ` RE : " Sylvain Petreolle
2006-12-12 17:39           ` Paul Brook
2006-12-12 18:54             ` Anthony Liguori
2006-12-12 17:41           ` RE : " Johannes Schindelin
2006-12-12 17:42           ` Daniel Jacobowitz
2006-12-12 18:41             ` Salvador Fandino [this message]
2006-12-13 12:23               ` [Qemu-devel] Re: RE : " Jan Marten Simons
2006-12-13 19:03                 ` Salvador Fandino
2006-12-13 20:03                   ` Jim C. Brown
2006-12-13 22:07                     ` Salvador Fandino
2006-12-13 22:55                       ` Jim C. Brown
2006-12-14  8:37                         ` Salvador Fandino
2006-12-14 14:58                           ` Jim C. Brown
2006-12-12 19:00           ` Salvador Fandino
2006-12-12 17:45         ` [Qemu-devel] " Mark Williamson
2006-12-12 19:30         ` Christian MICHON
2006-12-12 15:09 ` Anthony Liguori
2006-12-12 17:32   ` Salvador Fandino
2006-12-12 20:13     ` Anthony Liguori
2006-12-13  2:14       ` Mark Williamson
2006-12-13 11:37       ` Avi Kivity
2006-12-13 13:19         ` Martin Guy
2006-12-13 13:29           ` Avi Kivity
2006-12-13 19:14             ` Salvador Fandino
2006-12-14  8:34               ` Avi Kivity
2006-12-13 16:58 ` [Qemu-devel] " Mulyadi Santosa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='elmspi$bco$1@sea.gmane.org' \
    --to=sfandino@yahoo.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.