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: Anthony Liguori
Subject: Re: [Qemu-devel] [PATCH 01/11] QMP: Introduce specification file
Date: Tue, 23 Jun 2009 10:56:22 -0500
User-agent: Thunderbird 2.0.0.21 (X11/20090320)

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 monitor
   easy from the other side

- supports passing structure
- supports notifications
- supports asynchronous commands

seems quite nice.

I'd rather not do json.

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.

Regards,

Anthony Liguori


--
Regards,

Anthony Liguori





reply via email to

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