Re: [Qemu-devel] [PATCH RFC v3 5/5] block: Crude initial implementation of -blockdev

2017-02-23 Thread Markus Armbruster
Eric Blake writes: > On 02/21/2017 03:01 PM, Markus Armbruster wrote: >> The new command line option -blockdev works like QMP command >> blockdev-add. >> >> The option argument may be given in JSON syntax, exactly as in QMP. >> Example usage: >> >> -blockdev

Re: [Qemu-devel] [PATCH RFC v3 5/5] block: Crude initial implementation of -blockdev

2017-02-22 Thread Eric Blake
On 02/21/2017 03:01 PM, Markus Armbruster wrote: > The new command line option -blockdev works like QMP command > blockdev-add. > > The option argument may be given in JSON syntax, exactly as in QMP. > Example usage: > > -blockdev '{"node-name": "foo", "driver": "raw", "file": {"driver": >

[Qemu-devel] [PATCH RFC v3 5/5] block: Crude initial implementation of -blockdev

2017-02-21 Thread Markus Armbruster
The new command line option -blockdev works like QMP command blockdev-add. The option argument may be given in JSON syntax, exactly as in QMP. Example usage: -blockdev '{"node-name": "foo", "driver": "raw", "file": {"driver": "file", "filename": "foo.img"} }' The JSON argument doesn't