qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v6 3/3] qapi: Sort items in BlockdevOptions defi


From: Fam Zheng
Subject: Re: [Qemu-devel] [PATCH v6 3/3] qapi: Sort items in BlockdevOptions definition
Date: Thu, 11 Sep 2014 13:47:40 +0800
User-agent: Mutt/1.5.23 (2014-03-12)

On Wed, 09/10 15:32, Benoît Canet wrote:
> The Wednesday 10 Sep 2014 à 11:08:48 (+0800), Fam Zheng wrote :
> > Signed-off-by: Fam Zheng <address@hidden>
> > ---
> >  qapi/block-core.json | 38 +++++++++++++++++++-------------------
> >  1 file changed, 19 insertions(+), 19 deletions(-)
> > 
> > diff --git a/qapi/block-core.json b/qapi/block-core.json
> > index 35191b4..5adef27 100644
> > --- a/qapi/block-core.json
> > +++ b/qapi/block-core.json
> > @@ -1483,41 +1483,41 @@
> >    'discriminator': 'driver',
> >    'data': {
> >        'archipelago':'BlockdevOptionsArchipelago',
> > +      'blkdebug':   'BlockdevOptionsBlkdebug',
> > +      'blkverify':  'BlockdevOptionsBlkverify',
> > +      'bochs':      'BlockdevOptionsGenericFormat',
> > +      'cloop':      'BlockdevOptionsGenericFormat',
> > +      'cow':        'BlockdevOptionsGenericCOWFormat',
> > +      'dmg':        'BlockdevOptionsGenericFormat',
> >        'file':       'BlockdevOptionsFile',
> > -      'host_device':'BlockdevOptionsFile',
> > +      'ftp':        'BlockdevOptionsFile',
> > +      'ftps':       'BlockdevOptionsFile',
> > +# TODO gluster: Wait for structured options
> >        'host_cdrom': 'BlockdevOptionsFile',
> > +      'host_device':'BlockdevOptionsFile',
> >        'host_floppy':'BlockdevOptionsFile',
> >        'http':       'BlockdevOptionsFile',
> >        'https':      'BlockdevOptionsFile',
> > -      'ftp':        'BlockdevOptionsFile',
> > -      'ftps':       'BlockdevOptionsFile',
> > -      'tftp':       'BlockdevOptionsFile',
> > -# TODO gluster: Wait for structured options
> >  # TODO iscsi: Wait for structured options
> >  # TODO nbd: Should take InetSocketAddress for 'host'?
> >  # TODO nfs: Wait for structured options
> 
> Do we want to move all the TODO sorted alphabetically at the same place ?
> Or do be want to put the TODOS sorted alphabetically near their respective
> option declaration ?

I intended to sort by the actual driver name so in the futuer patch, it will be
a one liner replace, instead of a remove in the far TODO list and a insert in
their right position.

Fam



reply via email to

[Prev in Thread] Current Thread [Next in Thread]