[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 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.



_______________________________________________
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®.