[Spice-devel] C version of find_msb()

Gerd Hoffmann kraxel at redhat.com
Mon May 3 02:30:00 PDT 2010


   Hi,

> This patch allows people to build the spice-client on any 32bit/64bit
> architecture, but it doesn't solve the endianess problems in the SPICE
> protocol itself.  Has anyone looked into the network byte-ordering
> issues?

spice protocol (on the wire) is defined to be little endian.

Alexander Larsson is working on a marshaller/demarshaller for the spice 
network protocol, I think this will also handle endianness, i.e. 
byteswap the data if needed when parsing the data from the network into 
host structures.

cheers,
   Gerd



More information about the Spice-devel mailing list