From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MJCHI-0008B5-Hc for qemu-devel@nongnu.org; Tue, 23 Jun 2009 16:07:36 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MJCHF-00086x-2A for qemu-devel@nongnu.org; Tue, 23 Jun 2009 16:07:36 -0400 Received: from [199.232.76.173] (port=37160 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MJCHD-00086U-Uh for qemu-devel@nongnu.org; Tue, 23 Jun 2009 16:07:32 -0400 Received: from e32.co.us.ibm.com ([32.97.110.150]:44086) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MJCHD-00038X-Dc for qemu-devel@nongnu.org; Tue, 23 Jun 2009 16:07:31 -0400 Received: from d03relay05.boulder.ibm.com (d03relay05.boulder.ibm.com [9.17.195.107]) by e32.co.us.ibm.com (8.13.1/8.13.1) with ESMTP id n5NK3aub017180 for ; Tue, 23 Jun 2009 14:03:36 -0600 Received: from d03av04.boulder.ibm.com (d03av04.boulder.ibm.com [9.17.195.170]) by d03relay05.boulder.ibm.com (8.13.8/8.13.8/NCO v9.2) with ESMTP id n5NK7BBM068024 for ; Tue, 23 Jun 2009 14:07:15 -0600 Received: from d03av04.boulder.ibm.com (loopback [127.0.0.1]) by d03av04.boulder.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id n5NK7A04006432 for ; Tue, 23 Jun 2009 14:07:10 -0600 Message-ID: <4A4135ED.10908@us.ibm.com> Date: Tue, 23 Jun 2009 15:07:09 -0500 From: Anthony Liguori MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH 01/11] QMP: Introduce specification file References: <20090623012811.53a62493@doriath> <20090623144521.GA614@snarc.org> <4A40FB11.8090100@redhat.com> <4A40FB26.2040702@us.ibm.com> <4A40FD1A.1040303@redhat.com> <4A40FE31.2010007@us.ibm.com> <4A40FFB0.2070905@redhat.com> <4A411FC5.7050701@us.ibm.com> <4A412339.5000109@redhat.com> <4A412659.1080803@us.ibm.com> <4A413290.7060709@redhat.com> In-Reply-To: <4A413290.7060709@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Avi Kivity Cc: ehabkost@redhat.com, jan.kiszka@siemens.com, dlaor@redhat.com, qemu-devel@nongnu.org, Luiz Capitulino , Vincent Hanquez Avi Kivity wrote: > On 06/23/2009 10:00 PM, Anthony Liguori wrote: >> For starters, there is no way to encode NULL values in a JSON >> string. This means you cannot send binary data unless you base64 >> encode it first. > > That seems to have been solved: > > > js> a = 'x\0y' > xy > js> a.length > 3 > > I don't know enough javascript to verify that it's indeed a NUL, but > I'm guessing that it is. This is a browser restriction. -- Regards, Anthony Liguori