diff options
author | 2019-08-14 18:55:33 +0100 | |
---|---|---|
committer | 2019-09-25 10:15:59 -0400 | |
commit | 44f85d3276397cfa2cfa379c61430405dad4e644 (patch) | |
tree | c6becbd0f6542b0f4ead53b32ab481ec9f63ca58 /scripts/qapi/source.py | |
parent | Merge remote-tracking branch 'remotes/aperard/tags/pull-xen-20190924' into staging (diff) | |
download | qemu-44f85d3276397cfa2cfa379c61430405dad4e644.tar.xz qemu-44f85d3276397cfa2cfa379c61430405dad4e644.zip |
memory: Align MemoryRegionSections fields
MemoryRegionSection includes an Int128 'size' field;
on some platforms the compiler causes an alignment of this to
a 128bit boundary, leaving 8 bytes of dead space.
This deadspace can be filled with junk.
Move the size field to the top avoiding unnecessary alignment.
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20190814175535.2023-2-dgilbert@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'scripts/qapi/source.py')
0 files changed, 0 insertions, 0 deletions