qemu-e2k/scripts
Michael Roth a678e26cbe qapi: pad GenericList value fields to 64 bits
With the introduction of native list types, we now have types such as
int64List where the 'value' field is not a pointer, but the actual
64-bit value.

On 32-bit architectures, this can lead to situations where 'next' field
offset in GenericList does not correspond to the 'next' field in the
types that we cast to GenericList when using the visit_next_list()
interface, causing issues when we attempt to traverse linked list
structures of these types.

To fix this, pad the 'value' field of GenericList and other
schema-defined/native *List types out to 64-bits.

This is less memory-efficient for 32-bit architectures, but allows us to
continue to rely on list-handling interfaces that target GenericList to
simply visitor implementations.

In the future we can improve efficiency by defaulting to using native C
array backends to handle list of non-pointer types, which would be more
memory efficient in itself and allow us to roll back this change.

Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
2013-05-30 09:08:38 -04:00
..
kvm vmxcap: Update according to SDM of January 2013 2013-04-17 23:27:24 -03:00
qemu-guest-agent qemu-ga: sample fsfreeze hooks 2013-01-08 16:38:12 -06:00
tracetool trace: Add ftrace tracing backend 2013-05-03 13:58:09 +02:00
analyse-9p-simpletrace.py
check-qerror.sh
checkpatch.pl
create_config
feature_to_c.sh exec: move include files to include/exec/ 2012-12-19 08:31:31 +01:00
get_maintainer.pl get_maintainer.pl: update from linix 3.8 2012-12-12 23:41:03 +02:00
gtester-cat
hxtool
make_device_config.sh make_device_config.sh: Emit dependency file to directory where included 2013-03-09 12:00:03 +00:00
make-release
ordereddict.py
qapi-commands.py misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
qapi-types.py qapi: pad GenericList value fields to 64 bits 2013-05-30 09:08:38 -04:00
qapi-visit.py qapi: qapi-visit.py, native list support 2013-05-23 09:44:20 -04:00
qapi.py qapi: qapi-types.py, native list support 2013-05-23 09:44:20 -04:00
qemu-binfmt-conf.sh
qemu-gdb.py
qtest
refresh-pxe-roms.sh
signrom.py
simpletrace.py
texi2pod.pl
tracetool.py trace: [tracetool] Explicitly identify public backends 2013-03-28 14:19:57 +01:00
update-linux-headers.sh powerpc: linux header sync script includes epapr_hcalls.h 2013-01-07 17:37:09 +01:00