[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH 16/27] tools/libxl: Infrastructure for reading a libxl migration v2 stream



On Wed, 2015-06-17 at 18:49 +0800, Wen Congyang wrote:
> On 06/17/2015 06:15 PM, Ian Campbell wrote:
> > On Wed, 2015-06-17 at 11:09 +0800, Wen Congyang wrote:
> >>> +    if (hdr->options & RESTORE_OPT_BIG_ENDIAN) {
> >>> +        ret = ERROR_FAIL;
> >>> +        LOG(ERROR, "Unable to handle big endian streams");
> >>> +        goto err;
> >>
> >> I think it is better to check if the host is big endian or not.
> > 
> > It's not, there are no big endian ports of Xen today. I think encoding
> > that here is fine.
> 
> IIRC, arm supports big endian. Do we only use arm+little endian?

Currently, yes. There are plans afoot to support big endian _guests_ but
not big endian hypervisor (and by extension IMHO tools or at least the
migration stream should remain LE). That would be a lot of faff for very
little benefit IMHO.

Ian.


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.