|
From: | Laszlo Ersek |
Subject: | Re: [Qemu-devel] [PATCH for-1.4 v2 4/6] qemu-option: Disable two helpful messages that got broken recently |
Date: | Tue, 19 Feb 2013 16:55:16 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:10.0.12) Gecko/20130108 Thunderbird/10.0.12 |
On 02/19/13 10:29, Markus Armbruster wrote: > When it is, I'd suggest to try something like: > > * Create a schema appropriate for QMP. This results in a C data > structure (generated) and code accepting it. Let's call the latter > "the interface". > > * Create a schema for an opts-visitor, use it to take apart the option > string. This results in another C data structure. > > * Write glue code to convert the opts-visitor result into the data > structure accepted by the interface. This is good, I like it. Thanks, Laszlo
[Prev in Thread] | Current Thread | [Next in Thread] |