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: Stefano Stabellini
Subject: Re: [Qemu-devel] [PATCH 01/11] QMP: Introduce specification file
Date: Mon, 29 Jun 2009 10:44:38 +0100
User-agent: Alpine 2.00 (DEB 1167 2008-08-23)

On Sun, 28 Jun 2009, Anthony Liguori wrote:
> Instead of inventing binary syntaxes, maybe we could use dictionary 
> syntax to denote a mime encoded value?
> 
> So something like:
> 
> {"Content-Type": "image/ppm", "Content-Transfer-Encoding": "base64", 
> "Content": "AB234SDFSDf=="}
> 
> A special brace format could be used if we wanted to make sure it was 
> independently parsable:
> 
> <"Content-Type": "image/ppm", "Content-Transfer-Encoding": "base64", 
> "Content": "AB234SDFSDf==">
> 
> But I suspect dicts are good enough.
> 

I think it would be a good idea to allow binary as
Content-Transfer-Encoding, since base64 is very inefficient for
transferring large amount of data.
For example we may want to save the state of the guest, including the
whole memory, and transfer it over the network without saving it to file
first.





reply via email to

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