[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
- Re: [PATCH 06/14] hw/i386/vmport: Define enum for all commands, (continued)
- Re: [PATCH 06/14] hw/i386/vmport: Define enum for all commands, Liran Alon, 2020/03/10
- Re: [PATCH 06/14] hw/i386/vmport: Define enum for all commands, Michael S. Tsirkin, 2020/03/10
- Re: [PATCH 06/14] hw/i386/vmport: Define enum for all commands, Liran Alon, 2020/03/10
- Re: [PATCH 06/14] hw/i386/vmport: Define enum for all commands, Michael S. Tsirkin, 2020/03/10
- Re: [PATCH 06/14] hw/i386/vmport: Define enum for all commands, Liran Alon, 2020/03/10
[PATCH 07/14] hw/i386/vmport: Add support for CMD_GETBIOSUUID, Liran Alon, 2020/03/09
Re: [PATCH 07/14] hw/i386/vmport: Add support for CMD_GETBIOSUUID, Michael S. Tsirkin, 2020/03/10
- Re: [PATCH 07/14] hw/i386/vmport: Add support for CMD_GETBIOSUUID, Liran Alon, 2020/03/10
- Re: [PATCH 07/14] hw/i386/vmport: Add support for CMD_GETBIOSUUID, Michael S. Tsirkin, 2020/03/10
- Re: [PATCH 07/14] hw/i386/vmport: Add support for CMD_GETBIOSUUID, Liran Alon, 2020/03/10
- Re: [PATCH 07/14] hw/i386/vmport: Add support for CMD_GETBIOSUUID, Liran Alon, 2020/03/10
- Re: [PATCH 07/14] hw/i386/vmport: Add support for CMD_GETBIOSUUID, Michael S. Tsirkin, 2020/03/10
- Re: [PATCH 07/14] hw/i386/vmport: Add support for CMD_GETBIOSUUID, Liran Alon, 2020/03/10
[PATCH 08/14] hw/i386/vmport: Add support for CMD_GETTIME, Liran Alon, 2020/03/09
Re: [PATCH 00/14]: hw/i386/vmport: Bug fixes and improvements, no-reply, 2020/03/09