From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:35885) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SpcAN-0006jP-9v for qemu-devel@nongnu.org; Fri, 13 Jul 2012 05:28:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SpcAG-0002P7-UK for qemu-devel@nongnu.org; Fri, 13 Jul 2012 05:28:03 -0400 Received: from verein.lst.de ([213.95.11.211]:55194 helo=newverein.lst.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SpcAG-0002Oz-O4 for qemu-devel@nongnu.org; Fri, 13 Jul 2012 05:27:56 -0400 Date: Fri, 13 Jul 2012 11:27:55 +0200 From: Christoph Hellwig Message-ID: <20120713092755.GA479@lst.de> References: <4FFA9C30.2070201@linux.vnet.ibm.com> <20120709143607.GB5226@lst.de> <20120713091315.GB15503@stefanha-thinkpad.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120713091315.GB15503@stefanha-thinkpad.localdomain> Subject: Re: [Qemu-devel] [RFC] introduce a dynamic library to expose qemu block API List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Hajnoczi Cc: qemu-devel@nongnu.org, Paolo Bonzini , Anthony Liguori , Christoph Hellwig , Wenchao Xia On Fri, Jul 13, 2012 at 10:13:15AM +0100, Stefan Hajnoczi wrote: > How is that different from all the qemu-io commands? qemu-io has no modes to just dumb the output without additional information / statistics or for the write case just take user input instead of a pattern. I actually tried to add raw arguments to qemu-io, which still worked ou ok for reads but started to get fairly ugly for the write. What I use in production right now is a trivial qemu-cat tool that just does the raw reads and writes, but I think adding it as a new sub command to qemu-img instead of another tool seems a bit cleaner. If you and Kevin or Anthony disagree and want the qemu-cat tool I can submit a patch for that instead.