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: Wed, 24 Jun 2009 15:41:31 +0100
User-agent: Thunderbird 2.0.0.14 (X11/20080505)

Anthony Liguori wrote:

> Vincent Hanquez wrote:
>> On Tue, Jun 23, 2009 at 05:50:24PM -0500, Anthony Liguori wrote:
>>   
>>>> this one is mentioned on the website and has been changed recently (may 
>>>> 2009):
>>>>
>>>> http://fara.cs.uni-potsdam.de/~jsg/json_parser/
>>>>   
>>>>       
>>> That's not a jsonrpc library, that's just a json parser.
>>>     
>> but this is completly trivial at this point. jsonrpc is a json message put 
>> in a
>> certain way.
>>
>> now providing there was a maintained library out there, would you use it ?
>> or do you have more concerns that were unanswered ?
> 
> There are two questions to resolve.  The first is whether we should 
> continue with the current direction (line-based protocol) or whether we 
> should switch to an RPC.  The second question is which RPC we should use.
> 
> I'm not at all convinced that we should switch to an RPC mechanism in 
> the first place.  Perhaps someone could summarize the advantages of 
> doing this because right now, I don't see many.
> 

Using an IDL it would be easier to generate boilerplate code for
different languages, easier to document and evolve the interface.
If the rpc library is good enough we would get marshalling, data
transport, rendezvous, introspection and security already solved
for us.





reply via email to

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