Le Thursday 16 Aug 2012 à 11:13:05 (+0800), Wenchao Xia a écrit :
>I was busy in coding libqblock so forgot to move forward on qemu json
> info patches, thanks for your advance.
>
>one suggestion:
>how about folder all human printf into function:
> dump_human_image_info(image_info), an
Am 15.08.2012 20:48, schrieb Benoît Canet:
> This additionnal --machine=json option make qemu-img info output on
> stdout a JSON formated representation of the image informations.
>
> --machine=json was choosen instead of --format=json because the
> info command already have a -f parameter.
Which
On Wed, 15 Aug 2012 20:48:43 +0200
"Benoît Canet" wrote:
> This additionnal --machine=json option make qemu-img info output on
> stdout a JSON formated representation of the image informations.
>
> --machine=json was choosen instead of --format=json because the
> info command already have a -f p
I was busy in coding libqblock so forgot to move forward on qemu json
info patches, thanks for your advance.
one suggestion:
how about folder all human printf into function:
dump_human_image_info(image_info), and at the end, make the final output
functions as mirror:
if (human) {
This additionnal --machine=json option make qemu-img info output on
stdout a JSON formated representation of the image informations.
--machine=json was choosen instead of --format=json because the
info command already have a -f parameter.
example:
{
"backing-filename-format": "raw",
"snap