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 11:09:43 +0100
User-agent: Alpine 2.00 (DEB 1167 2008-08-23)

On Mon, 29 Jun 2009, Avi Kivity wrote:
> On 06/29/2009 12:44 PM, Stefano Stabellini wrote:
> > 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.
> >    
> 
> The migrate command does that.  Give it an fd and migrate away.
> 
> Mixing binary in the data format seems a bad idea to me, especially if 
> we stick to json as our encoding.
> 

JSON compatibility is more important to me than binary data, but as a
reply to the discussion about mime encodings, I was just pointing out
that mime does support binary encodings:

http://tools.ietf.org/html/rfc1652
http://tools.ietf.org/html/rfc3030

and if it doesn't prove to be too hard we could start thinking about
supporting them.





reply via email to

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