qemu/uuid: Add UUID static initializer
commit845476cb677f40cf8d1ef1a1bd9f924d75a556ef
authorIra Weiny <ira.weiny@intel.com>
Mon, 6 Feb 2023 17:28:15 +0000 (6 17:28 +0000)
committerMichael S. Tsirkin <mst@redhat.com>
Fri, 3 Mar 2023 00:13:52 +0000 (2 19:13 -0500)
tree0736bdf1d2e093687fe30f153306c0b8add5ca43
parent845d80a8c7b187f3003819463b40df91527affb4
qemu/uuid: Add UUID static initializer

UUID's are defined as network byte order fields.  No static initializer
was available for UUID's in their standard big endian format.

Define a big endian initializer for UUIDs.

Reviewed-by: Gregory Price <gregory.price@memverge.com>
Tested-by: Gregory Price <gregory.price@memverge.com>
Signed-off-by: Ira Weiny <ira.weiny@intel.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Message-Id: <20230206172816.8201-10-Jonathan.Cameron@huawei.com>
Reviewed-by: Fan Ni <fan.ni@samsung.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
include/qemu/uuid.h