qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Anthony Liguori <anthony@codemonkey.ws>
To: Stefan Hajnoczi <stefanha@gmail.com>
Cc: Kevin Wolf <kwolf@redhat.com>, qemu-devel <qemu-devel@nongnu.org>,
	Christoph Hellwig <hch@lst.de>
Subject: Re: [Qemu-devel] Block layer roadmap on wiki
Date: Mon, 22 Aug 2011 14:04:23 -0500	[thread overview]
Message-ID: <4E52A837.4080809@codemonkey.ws> (raw)
In-Reply-To: <CAJSP0QVEgutx83zp_fXUt6LzHz-2oUoBAfGNirdPzP6ssdgujg@mail.gmail.com>

On 08/22/2011 08:34 AM, Stefan Hajnoczi wrote:
> At KVM Forum Kevin, Christoph, and I had an opportunity to get
> together for a Block Layer BoF.  We went through the recent "roadmap"
> mailing list thread and touched on each proposed feature.
>
> Here is the block layer roadmap wiki page:
> http://wiki.qemu.org/BlockRoadmap
>
> Kevin: I have moved the runtime WCE toggling to QEMU 1.0 since you
> mentioned you want it for the next release.
>
> My main take-away from the BoF was that integrating support for host
> block devices and storage appliances will allow us to reduce the
> amount of effort spent on image formats.  In order to make image
> formats support the desired features and performance we end up
> implementing much of the storage stack and file systems in userspace -
> code that is duplicated and cannot take advantage of the existing
> storage stack.

The flip side is, tighter integration either makes features hard to 
consume or makes QEMU enter a space it currently hasn't.  Many features 
require root privileges to configure and a system-wide scope.  That's 
not QEMU today.

In addition, it makes QEMU tied to a specific platform (most likely Linux).

None of this is especially bad I guess, but none of it is a simple problem.

You could certainly rm -rf block/* and still be able to accomplish much 
of what's done today but it would be extremely painful to do in 
practice.  We have to find a balance of not reinventing things and 
making sure that simple things are simple to do.

That may require tighter integration and more focus on the higher up 
pieces in the stack to really enable this.

Regards,

Anthony Liguori

>
> Storage management features are not just available in remote SAN and
> NAS appliances anymore.  For local storage, btrfs has file-level
> clones and thin-dev is significantly improving LVM snapshots.
>
> Thin-dev is bringing a much more efficient and scalable snapshot model
> to LVM.  This device-mapper feature will make LVM attractive for high
> performance I/O without giving up snapshot and clone features.  It
> also supports cloning off block devices that are not in the pool (e.g.
> external storage, much like QEMU's backing files feature):
> https://github.com/jthornber/linux-2.6/tree/thin-dev
>
> This will not replace image formats overnight because image formats
> are still widely used and will continue to be a useful for
> transferring and sharing disk images.  But focussing on the larger
> storage stack where either local LVM, btrfs, or storage appliances do
> the storage management means we exploit those options instead of
> implementing equivalent functionality ourselves.  QEMU then runs with
> plain old raw in more cases.
>
> Stefan
>

  parent reply	other threads:[~2011-08-22 19:04 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-22 13:34 [Qemu-devel] Block layer roadmap on wiki Stefan Hajnoczi
2011-08-22 14:27 ` Ryan Harper
2011-08-22 17:58   ` Stefan Hajnoczi
2011-08-22 19:04 ` Anthony Liguori [this message]
2011-08-22 20:31   ` Stefan Hajnoczi
2011-08-22 20:48     ` Ryan Harper
2011-08-22 21:01       ` Anthony Liguori
2011-08-23  7:59         ` Stefan Hajnoczi
2011-08-23 11:25         ` Kevin Wolf
2011-08-23 12:21           ` Stefan Hajnoczi

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=4E52A837.4080809@codemonkey.ws \
    --to=anthony@codemonkey.ws \
    --cc=hch@lst.de \
    --cc=kwolf@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=stefanha@gmail.com \
    /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).