On Thu, Jun 28, 2018 at 09:43:47PM +0100, Frediano Ziglio wrote: > This avoids compilers detect misaligned access. Maybe "This helps some compilers to realize QXLRam is correctly aligned"? > The structure is allocated at the beginning of a page so surely > will be 4 bytes aligned. Not immediatly obvious in qemu, need to go through some indirections, but the struct indeed seems 4kB aligned. Christophe
Attachment:
signature.asc
Description: PGP signature
_______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel