From: Ian Murray Subject: Re: [PATCH] Xendomains was not correctly suspending domains when a STOP was issued. Date: Thu, 27 Jun 2013 13:15:33 +0100 (BST) Message-ID: <1372335333.60454.YahooMailNeo@web171301.mail.ir2.yahoo.com> References: <1371904691-9842-1-git-send-email-murrayie@yahoo.co.uk> <1372332750.28443.44.camel@zakaz.uk.xensource.com> <1372333915.32035.YahooMailNeo@web171303.mail.ir2.yahoo.com> <1372334389.7996.3.camel@zakaz.uk.xensource.com> Reply-To: Ian Murray Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <1372334389.7996.3.camel@zakaz.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Campbell Cc: "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org ----- Original Message ----- > From: Ian Campbell > To: Ian Murray > Cc: "xen-devel@lists.xen.org" > Sent: Thursday, 27 June 2013, 12:59 > Subject: Re: [Xen-devel] [PATCH] Xendomains was not correctly suspending domains when a STOP was issued. > = > On Thu, 2013-06-27 at 12:51 +0100, Ian Murray wrote: >> Thanks. BTW, the JSON output of 4.3 looked the same to me as 4.2.2 >> (i.e. badly formed), so I am not sure the patch you mentioned to make >> it well-formed was in as of 4.3 RC5.=A0 if/when the well formed patch is >> introduced (if it isn't already), it may very well break this >> (xendomains) patch. > = > Looks like I was mistaken and that fix was already in 4.2.0 (rc4 to be > precise). Yeah, according to http://jsonlint.com/ the output is valid. I thought it n= eeded a left-hand object name to be valid, but it seems I was wrong. Anyway= , it'is all good. Thanks. p.s. Looks like this patch missed RC6 by 40 minutes. :( . > = > commit ac963eb7895b8351017bb6005505c2b176202f0e > Author: Ian Campbell > Date:=A0 Thu Aug 23 19:12:28 2012 +0100 > = > =A0 =A0 xl: make "xl list -l" proper JSON > =A0 =A0 = > =A0 =A0 Bastian Blank reports that the output of this command is just mul= tiple > =A0 =A0 JSON objects concatenated and is not a single properly formed JSON > =A0 =A0 object. > =A0 =A0 = > =A0 =A0 Fix this by wrapping in an array. This turned out to be a bit more > =A0 =A0 intrusive than I was expecting due to the requirement to keep > =A0 =A0 supporting the SXP output mode. > =A0 =A0 = > =A0 =A0 Python's json module is happy to parse the result... > =A0 =A0 = > =A0 =A0 Signed-off-by: Ian Campbell > =A0 =A0 Acked-by: Ian Jackson > = > Ian. > =