Go to file
Frediano Ziglio beda5ec7a6 qxl_dev: Align QXLRam to 4 bytes
This avoids compilers detect misaligned access which can lead to
warnings.
In QEMU the structure is allocated at the beginning of a 4Kb page,
in Xspice is allocated with a calloc, so the structure will end up 4
bytes aligned as well with these users. We are not aware of other users
of QXLRam, but if there was, it's likely the struct would be at least
naturally aligned, so this change should not impact anyone.
Aligning to 4 bytes maintains the size of the structure unchanged
avoiding possible ABI changes.
clang currently generates an invalid function call if a misaligned
4 byte atomic operation is detected.

This fixes https://bugzilla.redhat.com/show_bug.cgi?id=1565766

Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
Acked-by: Christophe Fergeau <cfergeau@redhat.com>
2018-07-11 10:19:45 +01:00
m4 build-sys: Add m4 file for AX_PYTHON_MODULE 2015-08-07 12:53:59 +02:00
spice qxl_dev: Align QXLRam to 4 bytes 2018-07-11 10:19:45 +01:00
AUTHORS Add autoconf and pkg-config setup 2010-02-04 16:47:27 +01:00
autogen.sh Remove codegen 2016-03-10 16:57:08 +01:00
ChangeLog Add autoconf and pkg-config setup 2010-02-04 16:47:27 +01:00
configure.ac build-sys: post-release bump 0.12.15 2018-06-01 12:17:48 +02:00
COPYING Add MIT style COPYING file 2010-02-04 16:23:24 +01:00
git.mk Update git.mk to latest version 2012-09-21 15:48:39 +02:00
Makefile.am Add support for building with meson 2018-05-08 10:38:22 +01:00
meson.build meson: Post-release bump to 0.12.15 2018-06-21 14:43:45 +01:00
NEWS NEWS: prepare for 0.12.14 release 2018-06-01 10:09:13 +02:00
README Add autoconf and pkg-config setup 2010-02-04 16:47:27 +01:00
spice-protocol.pc.in Remove codegen 2016-03-10 16:57:08 +01:00