[Qemu-devel] [PATCH V4 2/2] qemu-img: Add json output option to the info command.

2012-08-22 Thread Benoît Canet
This option --output=[human|json] make qemu-img info output on human or JSON representation at the choice of the user. example: { snapshots: [ { vm-clock-nsec: 20637102488, name: vm-20120821145509, date-sec: 1345553709, date-nsec:

Re: [Qemu-devel] [PATCH V4 2/2] qemu-img: Add json output option to the info command.

2012-08-22 Thread Eric Blake
On 08/22/2012 06:45 AM, Benoît Canet wrote: This option --output=[human|json] make qemu-img info output on human or JSON representation at the choice of the user. @@ -1083,7 +1088,6 @@ out: return 0; } - static void dump_snapshots(BlockDriverState *bs) { Spurious whitespace