From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:59755) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QvbcO-00078i-KI for qemu-devel@nongnu.org; Mon, 22 Aug 2011 17:01:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QvbcN-0001eb-R7 for qemu-devel@nongnu.org; Mon, 22 Aug 2011 17:01:12 -0400 Received: from mail-yw0-f45.google.com ([209.85.213.45]:42416) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QvbcN-0001eW-ML for qemu-devel@nongnu.org; Mon, 22 Aug 2011 17:01:11 -0400 Received: by ywf9 with SMTP id 9so4510870ywf.4 for ; Mon, 22 Aug 2011 14:01:11 -0700 (PDT) Message-ID: <4E52C394.7050102@codemonkey.ws> Date: Mon, 22 Aug 2011 16:01:08 -0500 From: Anthony Liguori MIME-Version: 1.0 References: <4E52A837.4080809@codemonkey.ws> <20110822204810.GZ5792@us.ibm.com> In-Reply-To: <20110822204810.GZ5792@us.ibm.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] Block layer roadmap on wiki List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Ryan Harper Cc: Kevin Wolf , Stefan Hajnoczi , qemu-devel , Christoph Hellwig On 08/22/2011 03:48 PM, Ryan Harper wrote: > * Stefan Hajnoczi [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. Regards, Anthony Liguori