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,children=@children0
> > \
> > -drive if=virtio,id=primary-disk0,driver=qcow2,file=@quorum0
>