qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] Re: [PATCH 01/10] Introduce qmisc module


From: Paolo Bonzini
Subject: [Qemu-devel] Re: [PATCH 01/10] Introduce qmisc module
Date: Fri, 16 Oct 2009 15:24:52 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.4pre) Gecko/20091014 Fedora/3.0-2.8.b4.fc11 Lightning/1.0pre Thunderbird/3.0b4

On 10/15/2009 08:34 PM, Anthony Liguori wrote:
Luiz Capitulino wrote:
Not the right context but I was going to post about this soon, so
I think this is a good opportunity to talk about it.

I didn't look at all available parsers from json.org, but this one:

http://fara.cs.uni-potsdam.de/~jsg/json_parser/

Seems interesting.

Anthony, are you ok in using external implementations like that
if they meet our requirements?

Otherwise, pulling the code into the tree isn't so bad provided that
it's not huge.

It's 36k, and pulling it in gives the opportunity to customize it. For example, the attached patch allows to parse a "%BLAH" extension to JSON that is passed to the callback (since the parsing is done character-by-character, the callback can consume whatever it wants after the % sign). Asprintf+parse JSON unfortunately isn't enough because you'd need to escape all strings.

Paolo

Attachment: fff
Description: Text document


reply via email to

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