Philippe Mathieu-Daudé
c5162b8423
net/vhost-vdpa: Include missing 'qemu/iov.h' header
vhost-vdpa.c uses methods declared in the "qemu/iov." header.
Include it otherwise we get when refactoring unrelated headers:
../net/vhost-vdpa.c: In function ‘vhost_vdpa_net_load_cmd’:
../net/vhost-vdpa.c:714:24: error: implicit declaration of function ‘iov_size’
714 | size_t data_size = iov_size(data_sg, data_num), cmd_size;
| ^~~~~~~~
../net/vhost-vdpa.c:714:24: error: nested extern declaration of ‘iov_size’
../net/vhost-vdpa.c:742:5: error: implicit declaration of function ‘iov_from_buf’
742 | iov_from_buf(out_cursor, 1, 0, &ctrl, sizeof(ctrl));
| ^~~~~~~~~~~~
../net/vhost-vdpa.c:742:5: error: nested extern declaration of ‘iov_from_buf’
../net/vhost-vdpa.c:744:5: error: implicit declaration of function ‘iov_to_buf’
744 | iov_to_buf(data_sg, data_num, 0,
| ^~~~~~~~~~
../net/vhost-vdpa.c:744:5: error: nested extern declaration of ‘iov_to_buf’
../net/vhost-vdpa.c:748:5: error: implicit declaration of function ‘iov_copy’
748 | iov_copy(&out, 1, out_cursor, 1, 0, cmd_size);
| ^~~~~~~~
Fixes: bd907ae4b0 ("vdpa: manual forward CVQ buffers")
Signed-off-by: Philippe Mathieu-Daudé <philmd@oss.qualcomm.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20260812211708.92824-3-philmd@oss.qualcomm.com>
2026-08-16 16:32:42 +02:00
..
2026-07-07 11:16:22 +02:00
2026-06-15 10:50:03 -07:00
2022-12-14 20:04:47 +01:00
2024-11-25 13:59:50 +08:00
2025-07-14 13:27:09 +08:00
2026-06-12 17:56:30 +03:00
2021-06-11 10:30:13 +08:00
2024-04-18 11:17:27 +02:00
2022-09-02 10:22:39 +08:00
2022-09-02 10:22:39 +08:00
2025-09-19 12:46:07 +01:00
2026-01-07 13:24:41 +01:00
2026-02-23 00:17:35 +01:00
2026-01-23 14:43:57 +08:00
2026-01-23 14:46:22 +08:00
2025-04-25 17:00:41 +02:00
2026-07-27 15:51:03 +04:00
2026-06-06 09:15:23 +04:00
2025-11-14 09:59:54 +08:00
2020-03-09 18:44:04 +00:00
2026-01-22 10:48:45 +01:00
2026-05-28 18:44:02 +02:00
2026-05-06 12:58:07 +02:00
2026-07-21 12:18:36 +02:00
2025-10-04 10:50:36 -04:00
2026-05-21 13:10:15 +02:00
2024-10-03 17:26:05 +03:00
2026-06-12 17:56:30 +03:00
2025-09-19 12:46:07 +01:00
2026-05-06 16:10:46 +02:00
2025-07-14 13:27:09 +08:00
2026-05-06 16:10:46 +02:00
2026-01-23 14:41:26 +08:00
2026-01-23 14:41:26 +08:00
2026-01-23 14:41:26 +08:00
2025-10-04 10:51:02 -04:00
2026-01-23 14:41:26 +08:00
2026-01-23 14:41:26 +08:00
2025-07-14 13:27:09 +08:00
2026-05-26 14:09:31 +08:00
2024-03-12 17:56:55 -04:00
2020-08-21 06:18:24 -04:00
2026-05-26 14:09:31 +08:00
2026-05-26 14:09:30 +08:00
2022-10-28 13:28:52 +08:00
2025-07-14 13:27:09 +08:00
2026-05-06 16:10:46 +02:00
2022-07-20 16:58:08 +08:00
2026-08-16 16:32:42 +02:00
2023-02-17 13:31:33 +08:00
2024-07-02 06:58:48 +02:00
2025-03-19 07:53:26 +01:00
2024-07-02 06:58:48 +02:00
2024-07-02 06:58:48 +02:00