|
From: | Avi Kivity |
Subject: | Re: [Qemu-devel] [PATCH 01/11] QMP: Introduce specification file |
Date: | Tue, 23 Jun 2009 19:04:42 +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/23/2009 06:56 PM, Anthony Liguori wrote:
Avi Kivity wrote:On 06/23/2009 05:45 PM, Vincent Hanquez wrote:At this point my personal suggestion would be jsonrpc: - it's easy to parse (even in C) - it's text with markup - easy to generate - support utf-8 - quoted string - it's not ugly to read (compare to xml)- can be embedded directly (no more library dependancy for qemu) in the code - lots of language have json library making the interaction with the monitoreasy from the other side- supports passing structure - supports notifications - supports asynchronous commands seems quite nice.I'd rather not do json.
Why not?
As they stand, I think the current patch set is very close to being mergable. I'd rather not go off on a new tangent.
It fulfils all are requirements and more. There's a C implementation available. We can concentrate on the commands and ignore the plumbing.
-- error compiling committee.c: too many arguments to function
[Prev in Thread] | Current Thread | [Next in Thread] |