~ubuntu-branches/ubuntu/vivid/qemu-linaro/vivid

« back to all changes in this revision

Viewing changes to docs/qapi-code-gen.txt

  • Committer: Ricardo Salveti de Araujo
  • Date: 2012-09-20 18:39:31 UTC
  • mfrom: (12922.1.2 qemu-linaro)
  • Revision ID: ricardo.salveti@linaro.org-20120920183931-sp3cg6kpdl8dmwo9
* New upstream release.
  - support emulated systems with more than 2G of memory. (LP: #1030588)
* Drop powerpc-missing-include.patch - merged upstream.
* Update debian/control:
  - drop perl build dependency.
  - add libfdt-dev build dependency.
* Update debian/qemu-keymaps.install file.
* Update debian/rules:
  - update QEMU_CPU for ARM architecture: armv4l -> armv7l.
  - update conf_audio_drv: default to PulseAudio since PA is the default on
    Ubuntu.
  - enable KVM on ARM architecture.
  - enable flat device tree support (--enable-fdt). (LP: #1030594)

Show diffs side-by-side

added added

removed removed

Lines of Context:
194
194
 
195
195
    void visit_type_UserDefOneList(Visitor *m, UserDefOneList ** obj, const char *name, Error **errp)
196
196
    {
197
 
        GenericList *i;
 
197
        GenericList *i, **prev = (GenericList **)obj;
198
198
 
199
199
        visit_start_list(m, name, errp);
200
200
 
201
 
        for (i = visit_next_list(m, (GenericList **)obj, errp); i; i = visit_next_list(m, &i, errp)) {
 
201
        for (; (i = visit_next_list(m, prev, errp)) != NULL; prev = &i) {
202
202
            UserDefOneList *native_i = (UserDefOneList *)i;
203
203
            visit_type_UserDefOne(m, &native_i->value, NULL, errp);
204
204
        }
220
220
    #endif
221
221
    mdroth@illuin:~/w/qemu2.git$
222
222
 
 
223
(The actual structure of the visit_type_* functions is a bit more complex
 
224
in order to propagate errors correctly and avoid leaking memory).
223
225
 
224
226
=== scripts/qapi-commands.py ===
225
227