qemu-block
[Top][All Lists]
Advanced

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

Re: [Qemu-block] [Qemu-devel] Non-flat command line option argument synt


From: Fam Zheng
Subject: Re: [Qemu-block] [Qemu-devel] Non-flat command line option argument syntax
Date: Sat, 4 Feb 2017 21:02:50 +0800
User-agent: Mutt/1.7.1 (2016-10-04)

On Sat, 02/04 04:44, Paolo Bonzini wrote:
> 
> 
> On 04/02/2017 04:21, Fam Zheng wrote:
> >     -json "id=children0,text=[
> >                 { 'driver': 'null-co://' },
> >                 { 'driver': 'null-co://' },
> 
> You meant ,, at the end of this lines.  Which throws a wrench in your
> proposal somewhat. :(

Ahh right.. We could just specially ditch the ,, escape here and start over with
a faithful JSON parser added to which a mere id syntax (i.e. the "ID=" prefix):

    -json "children0=[
                 { 'driver': 'null-co://' },
                 { 'driver': 'null-co://' },
                 { 'driver': 'null-co://' }
             ]" \


> 
> Paolo
> 
> >                 { 'driver': 'null-co://' }
> >             ]" \
> >     -dot \
> >       
> > id=quorum0,driver=quorum,read-pattern=fifo,vote-threshold=1,address@hidden \
> >     -drive if=virtio,id=primary-disk0,driver=qcow2,address@hidden
> 



reply via email to

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