[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 14/18] rtc: add a dynamic property for retrievin
Re: [Qemu-devel] [PATCH 14/18] rtc: add a dynamic property for retrieving the date
Fri, 02 Dec 2011 09:05:17 -0600
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:220.127.116.11) Gecko/20110831 Lightning/1.0b2 Thunderbird/3.1.13
On 12/02/2011 07:34 AM, Gerd Hoffmann wrote:
On 12/02/11 14:20, Anthony Liguori wrote:
On 12/02/2011 06:35 AM, Gerd Hoffmann wrote:
The readme has quite a lot of detail about the syntax. The parser is
pretty complete already.
Ah, nice. Any plans to support lists there, so it is possible to save
the state of (multiple) in-flight transactions?
I had support for lists locally and just pushed it. It is based on
GSList and uses a marker to indicate the type. So:
We have qemu-queue.h, which unlike GSList is typesafe ...
qemu-queue would be extremely difficult to use because you need to encode
information about how to walk the structure in the type.
Otherwise, you can't generate code to walk the structure.