qemu/net
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
..
can qom: replace 'can_be_deleted' with 'prepare_delete' 2026-07-07 11:16:22 +02:00
af-xdp.c net/af-xdp.c: maybe-uninitialized warning with gcov build on ubuntu2404 2026-06-15 10:50:03 -07:00
announce.c qapi net: Elide redundant has_FOO in generated C 2022-12-14 20:04:47 +01:00
checksum.c net: checksum: Convert data to void * 2024-11-25 13:59:50 +08:00
clients.h net: Add passt network backend 2025-07-14 13:27:09 +08:00
colo-compare.c net/colo-compare: Use QEMU_LOCK_GUARD to simplify mutex handling 2026-06-12 17:56:30 +03:00
colo-compare.h Add the function of colo_compare_cleanup 2021-06-11 10:30:13 +08:00
colo-stubs.c colo: move stubs out of stubs/ 2024-04-18 11:17:27 +02:00
colo.c net/colo.c: Fix the pointer issue reported by Coverity. 2022-09-02 10:22:39 +08:00
colo.h net/colo.c: Fix the pointer issue reported by Coverity. 2022-09-02 10:22:39 +08:00
dgram.c util: drop qemu_socket_try_set_nonblock() 2025-09-19 12:46:07 +01:00
dump.c error: Use error_setg_file_open() for simplicity and consistency 2026-01-07 13:24:41 +01:00
eth.c hw/net/rocker: Don't assume h_proto is aligned in eth_strip_vlan_ex() 2026-02-23 00:17:35 +01:00
filter-buffer.c net/filter-buffer: make interval change take effect immediately 2026-01-23 14:43:57 +08:00
filter-mirror.c net/filter-redirector: add support for dynamic status on/off switching 2026-01-23 14:46:22 +08:00
filter-replay.c qom: Have class_init() take a const data argument 2025-04-25 17:00:41 +02:00
filter-rewriter.c net/colo: fix g_hash_table_destroy assertion on uninitialized filter 2026-07-27 15:51:03 +04:00
filter.c net/filter: free old values in property setters 2026-06-06 09:15:23 +04:00
hub.c net/hub: make net_hub_port_cleanup idempotent 2025-11-14 09:59:54 +08:00
hub.h net: Remove deprecated [hub_id name] tuple of 'hostfwd_add' / 'hostfwd_remove' 2020-03-09 18:44:04 +00:00
l2tpv3.c bswap: Include missing 'qemu/bswap.h' header 2026-01-22 10:48:45 +01:00
meson.build net: use stub_ss for vhost-user-stub.c and vhost-vdpa-stub.c 2026-05-28 18:44:02 +02:00
net-hmp-cmds.c monitor: Extract completion declarations to 'monitor/hmp-completion.h' 2026-05-06 12:58:07 +02:00
net.c net: Correct padding check in qemu_receive_packet() 2026-07-21 12:18:36 +02:00
netmap.c net: bundle all offloads in a single struct 2025-10-04 10:50:36 -04:00
passt.c qapi/net: Wean passt off QAPI type String to improve documentation 2026-05-21 13:10:15 +02:00
queue.c net: Remove deadcode 2024-10-03 17:26:05 +03:00
slirp.c net/slirp: allow hostfwd socket paths with dashes 2026-06-12 17:56:30 +03:00
socket.c util: drop qemu_socket_try_set_nonblock() 2025-09-19 12:46:07 +01:00
stream.c io: use g_clear_handle_id() for GSource cleanup 2026-05-06 16:10:46 +02:00
stream_data.c io: use g_clear_handle_id() for GSource cleanup 2026-05-06 16:10:46 +02:00
stream_data.h net: Refactor stream logic for reuse in '-net passt' 2025-07-14 13:27:09 +08:00
tap-bsd.c net/tap: rework tap_set_sndbuf() 2026-01-23 14:41:26 +08:00
tap-linux.c net/tap: rework tap_set_sndbuf() 2026-01-23 14:41:26 +08:00
tap-linux.h net: implement tunnel probing 2025-10-04 10:51:02 -04:00
tap-solaris.c net/tap: rework tap_set_sndbuf() 2026-01-23 14:41:26 +08:00
tap-stub.c net/tap: rework tap_set_sndbuf() 2026-01-23 14:41:26 +08:00
tap-win32.c net: Add get_vhost_net callback to NetClientInfo 2025-07-14 13:27:09 +08:00
tap.c net/tap: check that user tries to define zero queues 2026-05-26 14:09:31 +08:00
tap_int.h net/tap: rework tap_set_sndbuf() 2026-01-23 14:41:26 +08:00
trace-events vdpa: add trace event for vhost_vdpa_net_load_mq 2024-03-12 17:56:55 -04:00
trace.h trace: switch position of headers to what Meson requires 2020-08-21 06:18:24 -04:00
util.c net/tap: check that user tries to define zero queues 2026-05-26 14:09:31 +08:00
util.h net: introduce net_parse_fds() 2026-05-26 14:09:30 +08:00
vde.c net: introduce qemu_set_info_str() function 2022-10-28 13:28:52 +08:00
vhost-user-stub.c net: Add save_acked_features callback to vhost_net 2025-07-14 13:27:09 +08:00
vhost-user.c io: use g_clear_handle_id() for GSource cleanup 2026-05-06 16:10:46 +02:00
vhost-vdpa-stub.c vhost-net-vdpa: add stubs for when no virtio-net device is present 2022-07-20 16:58:08 +08:00
vhost-vdpa.c net/vhost-vdpa: Include missing 'qemu/iov.h' header 2026-08-16 16:32:42 +02:00
vmnet-bridged.m net/vmnet: Drop ifdef for macOS versions older than 12.0 2024-07-02 06:58:48 +02:00
vmnet-common.m error: Strip trailing '\n' from an error string argument 2025-03-19 07:53:26 +01:00
vmnet-host.c net/vmnet: Drop ifdef for macOS versions older than 12.0 2024-07-02 06:58:48 +02:00
vmnet-shared.c net/vmnet: Drop ifdef for macOS versions older than 12.0 2024-07-02 06:58:48 +02:00
vmnet_int.h vmnet: stop recieving events when VM is stopped 2023-02-17 13:31:33 +08:00