From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58811) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VCRPs-0002m0-7Y for qemu-devel@nongnu.org; Thu, 22 Aug 2013 05:43:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VCRPm-000469-45 for qemu-devel@nongnu.org; Thu, 22 Aug 2013 05:42:56 -0400 Received: from mx1.redhat.com ([209.132.183.28]:4586) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VCRPl-000461-SF for qemu-devel@nongnu.org; Thu, 22 Aug 2013 05:42:50 -0400 Date: Thu, 22 Aug 2013 17:42:46 +0800 From: Fam Zheng Message-ID: <20130822094246.GA18830@T430s.nay.redhat.com> References: <1375071932-31627-1-git-send-email-famz@redhat.com> <1375071932-31627-4-git-send-email-famz@redhat.com> <20130821130203.GB11975@stefanha-thinkpad.redhat.com> <20130822085320.GA14691@T430s.nay.redhat.com> <5215D84D.2010005@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5215D84D.2010005@redhat.com> Subject: Re: [Qemu-devel] [RFC PATCH 3/4] qmp: Add "snapshot=" option to nbd-server-add Reply-To: famz@redhat.com List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: kwolf@redhat.com, Stefan Hajnoczi , imain@redhat.com, qemu-devel@nongnu.org, stefanha@redhat.com On Thu, 08/22 11:22, Paolo Bonzini wrote: > Il 22/08/2013 10:53, Fam Zheng ha scritto: > >> > This is handy but only works if the QEMU process has permission to > >> > create temporary files. > >> > > > Yes, this is a shortcut, it has this limitation, but the good side is > > it's easy to get and no other dependency. > > > > To avoid creating file, we'll need blockdev-add to override backing_hd, > > and blockdev-backup to use an existing BDS as target, then we simply use > > current nbd-server-add to export it. > > > > This series is still RFC, with above said, we still need to decide which > > is the way we (QEMU and libvirt) want for 1.7. any thoughts? > > I think this was the initial design, but Kevin already said he didn't > like the idea. > > (Also, if you do this you have to add nbd-server-add to qmp-transaction, > to atomically start fleecing of multiple devices). > Rigth. And this stands the same as for blockdev-backup. Fam