qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@web.de>
To: Alexander Graf <agraf@suse.de>
Cc: Christoph Hellwig <hch@lst.de>, qemu-devel <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] [PATCH] qemu-img: add FUSE-based image access
Date: Mon, 29 Mar 2010 11:37:12 +0200	[thread overview]
Message-ID: <4BB074C8.4070102@web.de> (raw)
In-Reply-To: <E2B28AA6-6F6B-4EE7-98AC-2C925656C0FC@suse.de>

[-- Attachment #1: Type: text/plain, Size: 2219 bytes --]

Alexander Graf wrote:
> On 29.03.2010, at 09:46, Jan Kiszka wrote:
> 
>> Christoph Hellwig wrote:
>>> On Thu, Mar 25, 2010 at 06:52:59PM +0100, Jan Kiszka wrote:
>>>> This adds the "map" subcommand to qemu-img. It is able to expose the raw
>>>> content of a disk image via a FUSE filesystem. Both the whole disk can
>>>> be accessed, e.g. to run partitioning tools against it, as well as
>>>> individual partitions. This allows to create new filesystems in the
>>>> image or loop-back mount exiting ones. Using the great mountlo tool
>>>> from the FUSE collection [1][2], the latter can even be done by non-root
>>>> users (the former anyway).
>>> Is there a good reason to throw this into qemu-img instead of making
>>> a separate qemu-fuse or similar tool?  It's doing something quite
>>> different than the rest of qemu-img.
>>>
>> qemu-img is the swiss knife for QEMU disk image manipulation (like git
>> is for everything around a git repository). So, IHMO, mapping the image
>> content into the host filesystem for further manipulation with standard
>> tools belongs to this.
>>
>> If the "map" thing works out for most users, I could even imagine some
>> helper sub-command "mount" that encapsulates map and mountlo (or some
>> other unprivileged mounting mechanism). This should make it easier for
>> users to explore all possibilities they have when working with disk images.
> 
> We also have a tool called "qemu-ext2" lying around that allows you to explore ext2 based file system contents in any qemu block layer supported backend.

"we" == SUSE?

[ Wow - just typed "qemu-ext2" into Big Brother's search bar and found
the very same mail I'm just replying to. That's fast. ]

> 
> IMHO the best move to do here (Anthony's idea) is to somehow get the full block layer into a library, move it out of qemu into a separate project and allow other tools in there too.
> 
> That move would vastly improve the situation of distributions too. I don't want to have a qemu-img each coming from the Xen, KVM and Qemu packages. One is enough :-). And it could enable block layer experienced people to be the project maintainers, making that more valuable.
> 

Full ack.

Jan


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 257 bytes --]

  reply	other threads:[~2010-03-29  9:37 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-25 17:52 [Qemu-devel] [PATCH] qemu-img: add FUSE-based image access Jan Kiszka
2010-03-25 20:58 ` Anthony Liguori
2010-03-25 21:46   ` Jan Kiszka
2010-03-25 22:04     ` Anthony Liguori
2010-03-25 22:27       ` Jan Kiszka
2010-03-25 22:54         ` Anthony Liguori
2010-03-26  7:59           ` Jan Kiszka
2010-03-28 11:02 ` Christoph Hellwig
2010-03-29  7:46   ` Jan Kiszka
2010-03-29  8:57     ` Alexander Graf
2010-03-29  9:37       ` Jan Kiszka [this message]
2010-03-29  9:39         ` Alexander Graf

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=4BB074C8.4070102@web.de \
    --to=jan.kiszka@web.de \
    --cc=agraf@suse.de \
    --cc=hch@lst.de \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).