From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52317) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XP8Sp-0000pC-Mj for qemu-devel@nongnu.org; Wed, 03 Sep 2014 07:11:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XP8Sh-0002Xz-7w for qemu-devel@nongnu.org; Wed, 03 Sep 2014 07:10:59 -0400 Received: from mx1.redhat.com ([209.132.183.28]:63192) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XP8Sg-0002Xn-VN for qemu-devel@nongnu.org; Wed, 03 Sep 2014 07:10:51 -0400 Date: Wed, 3 Sep 2014 13:10:46 +0200 From: Kevin Wolf Message-ID: <20140903111046.GH7717@noname.str.redhat.com> References: <1409205191-11406-1-git-send-email-famz@redhat.com> <53FFABDB.2000609@redhat.com> <20140829005500.GD4196@T430.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20140829005500.GD4196@T430.redhat.com> Subject: Re: [Qemu-devel] [PATCH v3] block: Introduce "null" driver List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Fam Zheng Cc: benoit.canet@irqsave.net, qemu-devel@nongnu.org, Stefan Hajnoczi , armbru@redhat.com Am 29.08.2014 um 02:55 hat Fam Zheng geschrieben: > On Thu, 08/28 16:23, Eric Blake wrote: > > On 08/27/2014 11:53 PM, Fam Zheng wrote: > > > This is an analogue to Linux null_blk. It can be used for testing block > > > device emulation and general block layer functionalities such as > > > coroutines and throttling, where disk IO is not necessary or wanted. > > > > > > Use null:// for AIO version, and null-co:// for coroutine version. > > > > > > Signed-off-by: Fam Zheng > > > > > > --- > > > > > +++ b/qapi/block-core.json > > > @@ -1150,7 +1150,8 @@ > > > 'data': [ 'archipelago', 'file', 'host_device', 'host_cdrom', 'host_floppy', > > > 'http', 'https', 'ftp', 'ftps', 'tftp', 'vvfat', 'blkdebug', > > > 'blkverify', 'bochs', 'cloop', 'cow', 'dmg', 'parallels', 'qcow', > > > - 'qcow2', 'qed', 'raw', 'vdi', 'vhdx', 'vmdk', 'vpc', 'quorum' ] } > > > + 'qcow2', 'qed', 'raw', 'vdi', 'vhdx', 'vmdk', 'vpc', 'quorum', > > > + 'null' ] } > > > > As mentioned elsewhere, you probably want 'null' AND 'null-co'. Bummer > > that this list is mostly alphabetical, but that 'quorum' and 'null' are > > out of order. > > I'll add null-co to the list. But this list is a bit far from alphabetical: > > archipelago, ..., vvfat, blkdebug,... Actually it's pretty close to alphabetical as the secondary criterion (the primary one is that all protocols are listed first, and only then the formats). Kevin