On Tue, Mar 10, 2020 at 02:37:07PM +0200, Liran Alon wrote: > So I think you are right this should be le32_to_cpu(). i.e. Treat the > uuid_part[x] as little-endian and convert it to native CPU format. > > I always get confused in this :) > > Thanks, > -Liran
Yes - Linux has tagging for this so one knows what's going on, and sparse can catch errors. Unfortunately QEMU does not use this capability. A nice (not so little) project for someone :) -- MST