[Libvir] big-endian support for libvirt - introduce GUEST_HANDLE infrastructure ?

Richard W.M. Jones rjones at redhat.com
Thu Jul 12 08:43:39 UTC 2007


Daniel Veillard wrote:
>> The Libvirt padding is now handled by using gcc's __BIG_ENDIAN__, no 
>> configure/header/... needed that way. I think we can assume that at 
>> least when libvirt is compiled for ppc gcc is used right?
> 
>   yes the only potential problem would be with other architectures where
> __BIG_ENDIAN__ is defined and where the relative size of pointers and long
> would be different.

I guess the only potential problem would be on IA64 in big-endian mode. 
  Does anyone use IA64 in this mode?  I saw that Xen supports it ...

As for the patch in general, since it doesn't affect any other platforms 
that libvirt currently supports (all little endian), I would apply it.

Rich.

-- 
Emerging Technologies, Red Hat - http://et.redhat.com/~rjones/
Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod
Street, Windsor, Berkshire, SL4 1TE, United Kingdom.  Registered in
England and Wales under Company Registration No. 03798903
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3237 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20070712/578a41f0/attachment-0001.bin>


More information about the libvir-list mailing list