qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 01/11] QMP: Introduce specification file


From: Avi Kivity
Subject: Re: [Qemu-devel] [PATCH 01/11] QMP: Introduce specification file
Date: Tue, 23 Jun 2009 23:13:01 +0300
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1b3pre) Gecko/20090513 Fedora/3.0-2.3.beta2.fc11 Thunderbird/3.0b2

On 06/23/2009 11:07 PM, Anthony Liguori wrote:
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.


So this will only hit us is we port qemu to javascript and run it in a web broswer.

--
I have a truly marvellous patch that fixes the bug which this
signature is too narrow to contain.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]