Michael Roth 146db9f919 qapi: dealloc visitor, implement visit_start_union
If the .data field of a QAPI Union is NULL, we don't need to free
any of the union fields.

Make use of the new visit_start_union interface to access this
information and instruct the generated code to not visit these
fields when this occurs.

Cc: qemu-stable@nongnu.org
Reported-by: Fam Zheng <famz@redhat.com>
Suggested-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
2014-09-26 13:14:10 -04:00
2014-09-18 20:02:01 +01:00
2014-06-23 11:00:12 -04:00
2014-09-04 17:39:07 +01:00
2014-09-25 13:34:03 +01:00
2014-09-25 18:54:21 +01:00
2014-09-25 13:34:03 +01:00
2014-08-18 14:39:10 -04:00
2014-08-24 13:16:32 +04:00
2014-09-22 11:39:45 +01:00
2014-06-16 13:24:35 +02:00
2014-06-09 15:43:40 +02:00
2014-08-29 10:46:58 +01:00
2014-06-23 11:12:28 -04:00
2014-08-29 10:46:58 +01:00
2014-09-16 11:04:09 +02:00
2014-06-19 18:44:21 +03:00
2014-06-19 16:41:54 +03:00
2014-09-26 09:34:39 +01:00
2014-08-15 16:37:17 +01:00
2014-08-29 10:48:45 +01:00
2014-09-22 11:39:45 +01:00
2014-09-22 11:39:45 +01:00
2014-05-24 00:07:29 +04:00
2014-09-02 16:07:31 +01:00
2014-08-06 17:53:07 +02:00
2014-09-19 17:20:11 +01:00
2014-06-05 16:10:33 +02:00
2014-08-01 18:30:08 +01:00
2014-09-23 12:08:55 +01:00
2014-05-07 16:16:43 +00:00
2014-07-07 10:37:40 +00:00

Read the documentation in qemu-doc.html or on http://wiki.qemu-project.org

- QEMU team
Description
QEMU With E2K User Support
Readme 459 MiB
Languages
C 83.1%
C++ 6.3%
Python 3.2%
Dylan 2.8%
Shell 1.6%
Other 2.8%