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@lists.xen.org
http://lists.xen.org/xen-devel

Reply via email to