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

[Xen-devel] [PATCH 0 of 4 v2] libxl: support json for pretty printing objects



Now that Anthony's QMP series is in we can build upon the use of YAJL
to add support for pretty printing libxl objects as JSON.

Also includes a user in xl (to print disks on dry run) and an
associated fix to the check-xl-disk-parse test script.

This is the second posting. A subset of the patches have been applied
so I have rebased. I have also addressed most of Ian J's review
comments on "libxl: IDL: autogenerate functions to produce JSON from
libxl data structures":
  - wrap python code to 80 columns
  - fixup quoting (although I had to add another case in \"%s=%#x\"
    because "%s=%#x" was confusing emacs' syntax highlighting due to
    the # being treated as a comment and hiding the closing ".
  - remove leftover cruft
  - added libxl__yagl_gen_enum helper
  - autogenerate *_gen_json prototypes for builtins instead of
    handcoding them.

I didn't address the cpuid related comments.

I switched to using "xl" not "/usr/sbin/xl" in that patch.


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.