From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:35003) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TTWOs-0001a6-Fk for qemu-devel@nongnu.org; Wed, 31 Oct 2012 07:24:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TTWOo-000439-BO for qemu-devel@nongnu.org; Wed, 31 Oct 2012 07:23:58 -0400 Received: from verein.lst.de ([213.95.11.211]:41793 helo=newverein.lst.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TTWOo-000422-53 for qemu-devel@nongnu.org; Wed, 31 Oct 2012 07:23:54 -0400 Date: Wed, 31 Oct 2012 12:23:52 +0100 From: Christoph Hellwig Message-ID: <20121031112352.GA12937@lst.de> References: <1349103144-6827-1-git-send-email-pbonzini@redhat.com> <1349103144-6827-9-git-send-email-pbonzini@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1349103144-6827-9-git-send-email-pbonzini@redhat.com> Subject: Re: [Qemu-devel] [PATCH v2 8/9] qmp: add NBD server commands List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: qemu-devel@nongnu.org, lcapitulino@redhat.com On Mon, Oct 01, 2012 at 04:52:23PM +0200, Paolo Bonzini wrote: > Adding an NBD server inside QEMU is trivial, since all the logic is > in nbd.c and can be shared easily between qemu-nbd and QEMU itself. > The main difference is that qemu-nbd serves a single unnamed export, > while QEMU serves named exports. I've started playing around with qemu-nbd and have started looking into named exports, aio, and adding snapshort support. I'm wondering if instead of adding this I should try to base it on your embedded server. That would give me the named exports, aio and monitor/qmp based snapshot creatation. The only thing to add would be a qemu mode where it doesn't run an actual guest. Does anyone have opinions on this?