[Spice-devel] C version of find_msb()

Alexander Larsson alexl at redhat.com
Mon May 3 07:12:54 PDT 2010


On Mon, 2010-05-03 at 11:30 +0200, Gerd Hoffmann wrote:
> 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.

Yeah, this will be handled by the marshalling changes.



More information about the Spice-devel mailing list