From: Kevin Wolf <kwolf@redhat.com>
To: Anthony Liguori <anthony@codemonkey.ws>
Cc: Stefan Hajnoczi <stefanha@gmail.com>,
Ryan Harper <ryanh@us.ibm.com>,
qemu-devel <qemu-devel@nongnu.org>,
Christoph Hellwig <hch@lst.de>
Subject: Re: [Qemu-devel] Block layer roadmap on wiki
Date: Tue, 23 Aug 2011 13:25:53 +0200 [thread overview]
Message-ID: <4E538E41.5030708@redhat.com> (raw)
In-Reply-To: <4E52C394.7050102@codemonkey.ws>
Am 22.08.2011 23:01, schrieb Anthony Liguori:
> On 08/22/2011 03:48 PM, Ryan Harper wrote:
>> * Stefan Hajnoczi<stefanha@gmail.com> [2011-08-22 15:32]:
>>> We wouldn't rm -rf block/* because we still need qemu-nbd. It
>>> probably makes sense to keep what we have today. I'm talking more
>>> about a shift from writing our own image format to integrating
>>> existing storage support.
>>
>> I think this is a key point. While I do like the idea of keeping QEMU
>> focused on single VM, I think we don't help ourselves by not consuming
>> the hypervisor platform services and integrating/exploiting those
>> features to make using QEMU easier.
>
> Let's avoid the h-word here as it's not terribly relevant to the discussion.
>
> Configuring block devices is fundamentally a privileged operation. QEMU
> fundamentally is designed to be useful as an unprivileged user.
>
> That's the trouble with something like LVM. Only root can create LVM
> snapshots and it's an all-or-nothing security model.
>
> If you want to get QEMU out of the snapshot business, you need a file
> system that's widely available that allows non-privileged users to take
> snapshots of individual files.
I agree with you there (and it's interesting how different perception of
the BoF results can be ;-))
It's probably true that there are ways to do certain things on host
block devices and we should definitely support such use cases better
(where we means mostly the management layer, but we can possibly
integrate things into qemu like a file-btrfs or lvm_device backend that
supports snapshots or something).
It isn't for everyone, though, and this is why I tried to point out in
the BoF that image formats aren't going to go away and we still need
good support for them. Providing only raw for running VMs and declaring
the rest of the formats to be intended for import/export only doesn't work.
Kevin
next prev parent reply other threads:[~2011-08-23 11:23 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
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 [this message]
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=4E538E41.5030708@redhat.com \
--to=kwolf@redhat.com \
--cc=anthony@codemonkey.ws \
--cc=hch@lst.de \
--cc=qemu-devel@nongnu.org \
--cc=ryanh@us.ibm.com \
--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).