Do we have any plans or forsee upstream wanting to use the QXL interface
on any non-x86 hw (like ppc).

If so qxl.h has a lot of structs which have non-portable structure
packing on non-x86 64-bit targets.

uint32_t x
uint64_t y

ends up aligned different on different archs, on some you
get

uint32_t x
uint32_t pad
uint64_y

on some the padding isn't left at all.

I'm not sure if this warrants fixing these up I just noticed
this problem when reading the headers and I know kernel ioctls
suffers from this a lot. I'm not sure any arches do it wrong between
32/64 bit modes on the same CPU.

Dave.

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Spice-space-devel mailing list
Spice-space-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/spice-space-devel

Reply via email to