Received: from eggs.gnu.org ([2001:4830:134:3::10]:47743) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XP9zY-0002EG-6y for qemu-devel@nongnu.org; Wed, 03 Sep 2014 08:48:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XP9zP-0003pQ-TF for qemu-devel@nongnu.org; Wed, 03 Sep 2014 08:48:49 -0400 Received: from mx1.redhat.com ([209.132.183.28]:63676) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XP9zP-0003oh-LO for qemu-devel@nongnu.org; Wed, 03 Sep 2014 08:48:43 -0400 From: Markus Armbruster References: <1409205191-11406-1-git-send-email-famz@redhat.com> <53FFABDB.2000609@redhat.com> <20140829005500.GD4196@T430.redhat.com> <20140903111046.GH7717@noname.str.redhat.com> <54070ABD.2080207@redhat.com> Date: Wed, 03 Sep 2014 14:48:37 +0200 In-Reply-To: <54070ABD.2080207@redhat.com> (Eric Blake's message of "Wed, 03 Sep 2014 06:34:05 -0600") Message-ID: <87mwaguaxm.fsf@blackfin.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH v3] block: Introduce "null" driver List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Eric Blake Cc: Kevin Wolf , benoit.canet@irqsave.net, Fam Zheng , qemu-devel@nongnu.org, Stefan Hajnoczi Eric Blake writes: > On 09/03/2014 05:10 AM, Kevin Wolf wrote: > >>>>> @@ -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). > > Then a (separate) patch that lists: > > 'data': [ > # protocols > list..., > # formats > list... > ] > > might be nice :) I doubt differentiating between protocols and formats is useful here. Just sort it alphabetically.