WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH 0 of 4 v2] libxl: support json for pretty printing objects
From: Ian Campbell <ian.campbell@xxxxxxxxxx>
Date: Fri, 7 Oct 2011 11:27:50 +0100
Cc: Ian Campbell <ian.campbell@xxxxxxxxxx>
Delivery-date: Fri, 07 Oct 2011 03:28:32 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mercurial-patchbomb/1.6.4
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