qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH 07/14] hw/i386/vmport: Add support for CMD_GETBIOSUUID


From: Michael S. Tsirkin
Subject: Re: [PATCH 07/14] hw/i386/vmport: Add support for CMD_GETBIOSUUID
Date: Tue, 10 Mar 2020 09:01:12 -0400

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]