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: Sun, 28 Jun 2009 20:36:16 +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 Lightning/1.0pre Thunderbird/3.0b2

On 06/28/2009 08:30 PM, Anthony Liguori wrote:
Another candidate is screendump. There's no reason to go through a file. We could pass a pipe as an fd and request a screendump to that fd, but that's rather roundabout.


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.

Yes.

(I see a future thread about how we negotiate content types etc.)

--
error compiling committee.c: too many arguments to function





reply via email to

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