From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:50391) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TTXuy-0006DX-Lf for qemu-devel@nongnu.org; Wed, 31 Oct 2012 09:01:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TTXuo-0002rd-SU for qemu-devel@nongnu.org; Wed, 31 Oct 2012 09:01:12 -0400 Received: from verein.lst.de ([213.95.11.211]:41981 helo=newverein.lst.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TTXun-0002rG-Jd for qemu-devel@nongnu.org; Wed, 31 Oct 2012 09:01:02 -0400 Date: Wed, 31 Oct 2012 14:01:00 +0100 From: Christoph Hellwig Message-ID: <20121031130100.GA19901@lst.de> References: <1349103144-6827-1-git-send-email-pbonzini@redhat.com> <1349103144-6827-9-git-send-email-pbonzini@redhat.com> <20121031112352.GA12937@lst.de> <50911D9E.7090408@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <50911D9E.7090408@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: Anthony Liguori , lcapitulino@redhat.com, Christoph Hellwig , qemu-devel@nongnu.org On Wed, Oct 31, 2012 at 01:46:22PM +0100, Paolo Bonzini wrote: > qemu-nbd does support AIO in the latest versions. There's also > --cache=MODE and --aio=MODE command-line options. Oh true, it's just hidden behind coroutines. With --aio-native and --nocache I actually get fairly reasonable performance out of it now. > But if you need a QMP interface, adding it to qemu-nbd would really be a > bad idea. :) I don't nessecarily need QMP, I'm just looking for a way to create a snapshot underneath an exported image. > You can use qtest mode to get very close to this (even if you send > stop/cont by mistake on the monitor, no code will actually run): > > qemu-system-x86_64 -chardev file,id=null,path=/dev/null -qtest null > -machine accel=qtest -m 1 -nodefaults -nographic > > but having a separate do-nothing target would probably be nicer... > though Anthony may have different opinions. That looks fairlt reasonable, thanks.