Peter Maydell
1324f06384
uuid: Make qemu_uuid_bswap() take and return a QemuUUID
...
Currently qemu_uuid_bswap() takes a pointer to the QemuUUID to
be byte-swapped. This means it can't be used when the UUID
to be swapped is in a packed member of a struct. It's also
out of line with the general bswap*() functions we provide
in bswap.h, which take the value to be swapped and return it.
Make qemu_uuid_bswap() take a QemuUUID and return the swapped version.
This fixes some clang warnings about taking the address of
a packed struct member in block/vdi.c.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org >
Reviewed-by: Michael S. Tsirkin <mst@redhat.com >
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com >
Signed-off-by: Kevin Wolf <kwolf@redhat.com >
2019-02-01 13:46:45 +01:00
..
2019-01-17 17:52:40 -02:00
2019-01-17 21:10:57 -05:00
2019-01-14 14:52:30 +00:00
2019-01-22 20:48:15 +00:00
2018-11-13 10:47:59 +00:00
2018-06-08 14:39:24 -03:00
2019-01-11 15:46:55 +01:00
2018-10-11 19:58:26 +01:00
2018-12-14 06:52:48 +01:00
2019-02-01 13:46:44 +01:00
2019-01-24 17:48:33 +01:00
2018-10-26 22:03:21 +08:00
2018-07-24 11:45:25 +01:00
2019-01-17 21:10:57 -05:00
2019-01-17 21:10:57 -05:00
2018-08-16 09:50:54 +01:00
2019-01-14 14:52:30 +00:00
2019-01-14 14:52:30 +00:00
2018-10-24 19:03:37 +01:00
2018-07-02 15:41:17 +02:00
2018-07-02 15:41:17 +02:00
2019-01-17 21:10:57 -05:00
2019-01-22 05:14:32 +01:00
2018-06-08 13:17:39 -04:00
2018-12-17 15:37:50 +01:00
2019-01-11 13:57:25 +01:00
2018-08-15 08:12:19 +02:00
2018-11-19 10:08:19 -06:00
2018-10-10 08:00:00 +02:00
2019-01-24 15:20:59 +01:00
2018-07-28 09:09:58 +02:00
2018-12-11 15:45:22 -02:00
2018-10-05 16:27:09 +04:00
2018-07-28 09:09:58 +02:00
2018-12-20 11:19:12 -05:00
2018-07-03 13:04:38 +01:00
2018-07-03 13:04:38 +01:00
2018-07-24 17:33:39 +01:00
2018-10-19 12:26:57 +01:00
2018-08-23 18:46:25 +02:00
2019-01-11 11:45:00 +01:00
2018-08-31 09:53:10 +02:00
2018-08-16 08:42:06 +02:00
2019-01-22 05:14:32 +01:00
2018-08-16 08:42:06 +02:00
2018-08-23 18:46:25 +02:00
2018-08-15 12:50:39 +02:00
2019-01-22 06:26:32 +01:00
2018-11-19 21:59:44 +01:00
2018-08-16 08:42:06 +02:00
2019-01-14 19:31:04 -05:00
2019-01-29 11:46:04 +00:00
2019-01-29 11:46:04 +00:00
2018-08-16 08:42:06 +02:00
2018-08-16 08:42:06 +02:00
2018-12-17 15:36:40 +01:00
2019-02-01 13:46:44 +01:00
2019-01-29 11:46:04 +00:00
2019-01-11 13:57:25 +01:00
2018-08-16 08:42:06 +02:00
2018-11-22 16:43:52 +01:00
2018-06-08 13:15:32 +01:00
2019-01-22 05:14:32 +01:00
2018-12-17 15:36:40 +01:00
2018-10-19 13:44:03 +02:00
2018-07-09 14:51:34 +01:00
2018-12-17 15:36:40 +01:00
2018-12-17 15:36:40 +01:00
2019-01-14 14:52:30 +00:00
2018-08-31 09:53:10 +02:00
2018-12-12 10:28:27 +01:00
2018-08-23 18:46:23 +02:00
2018-10-30 21:13:54 -03:00
2018-08-16 08:42:06 +02:00
2018-08-16 08:42:06 +02:00
2018-12-14 13:30:54 +00:00
2018-10-01 19:13:55 +02:00
2019-02-01 13:46:44 +01:00
2018-09-25 15:31:15 +02:00
2018-09-25 15:50:15 +02:00
2018-11-01 12:13:09 +04:00
2018-12-12 11:16:49 +00:00
2019-01-11 13:57:25 +01:00
2018-10-19 12:26:57 +01:00
2018-07-24 17:36:12 +01:00
2018-10-24 19:03:37 +01:00
2018-12-13 19:10:06 +01:00
2018-12-17 15:36:40 +01:00
2018-12-17 15:36:40 +01:00
2019-01-15 18:26:50 -05:00
2018-08-23 18:46:23 +02:00
2018-11-12 17:46:57 +01:00
2019-01-24 12:23:35 +00:00
2018-07-24 17:35:57 +01:00
2018-07-02 15:41:10 +02:00
2019-01-07 16:18:42 +04:00
2018-07-02 15:41:10 +02:00
2018-08-31 09:53:10 +02:00
2018-09-26 08:55:54 -07:00
2018-12-12 10:28:27 +01:00
2019-01-24 10:01:05 +01:00
2018-08-16 08:42:06 +02:00
2019-01-11 15:46:55 +01:00
2018-08-23 18:46:25 +02:00
2018-08-23 18:46:25 +02:00
2018-10-01 19:13:55 +02:00
2018-12-13 19:10:06 +01:00
2018-07-23 14:00:03 +02:00
2019-01-23 15:51:47 +00:00
2018-08-23 18:46:25 +02:00
2018-06-08 13:15:32 +01:00
2018-06-06 15:44:07 -04:00
2018-09-07 16:37:47 -04:00
2018-09-07 16:37:47 -04:00
2018-09-07 16:37:47 -04:00
2018-11-14 16:12:24 -05:00
2018-06-06 15:44:07 -04:00
2018-06-06 15:44:12 -04:00
2018-09-07 16:37:47 -04:00
2018-10-30 13:53:15 -04:00
2018-12-20 10:29:08 +01:00
2018-08-16 08:42:06 +02:00
2018-08-16 08:42:06 +02:00
2018-08-16 08:42:06 +02:00
2018-08-16 08:42:06 +02:00
2018-12-20 10:29:08 +01:00
2019-01-14 19:31:04 -05:00
2018-08-16 08:42:06 +02:00
2018-08-16 08:42:06 +02:00
2018-08-23 13:32:50 +02:00
2018-08-16 08:42:06 +02:00
2018-12-04 11:06:15 +00:00
2018-08-16 08:42:06 +02:00
2018-08-16 08:42:06 +02:00
2018-08-16 08:42:06 +02:00
2019-02-01 13:46:45 +01:00