You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
qemu/net
Eugenio Pérez a400720365 vdpa: move iova_tree allocation to net_vhost_vdpa_init
As we are moving to keep the mapping through all the vdpa device life
instead of resetting it at VirtIO reset, we need to move all its
dependencies to the initialization too.  In particular devices with
x-svq=on need a valid iova_tree from the beginning.

Simplify the code also consolidating the two creation points: the first
data vq in case of SVQ active and CVQ start in case only CVQ uses it.

Tested-by: Lei Yang <leiyang@redhat.com>
Reviewed-by: Si-Wei Liu <si-wei.liu@oracle.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Suggested-by: Si-Wei Liu <si-wei.liu@oracle.com>
Signed-off-by: Eugenio Pérez <eperezma@redhat.com>
Signed-off-by: Jonah Palmer <jonah.palmer@oracle.com>
Message-Id: <20250522145839.59974-7-jonah.palmer@oracle.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
5 days ago
..
can qom: Make InterfaceInfo[] uses const 1 month ago
af-xdp.c net/af-xdp.c: Don't leak sock_fds array in net_init_af_xdp() 1 year ago
announce.c qapi net: Elide redundant has_FOO in generated C 3 years ago
checksum.c net: checksum: Convert data to void * 6 months ago
clients.h net: add initial support for AF_XDP network backend 2 years ago
colo-compare.c qom: Make InterfaceInfo[] uses const 1 month ago
colo-compare.h Add the function of colo_compare_cleanup 4 years ago
colo-stubs.c colo: move stubs out of stubs/ 1 year ago
colo.c net/colo.c: Fix the pointer issue reported by Coverity. 3 years ago
colo.h net/colo.c: Fix the pointer issue reported by Coverity. 3 years ago
dgram.c win32: replace closesocket() with close() wrapper 2 years ago
dump.c qom: Have class_init() take a const data argument 1 month ago
eth.c net/eth: Clean up local variable shadowing 2 years ago
filter-buffer.c qom: Have class_init() take a const data argument 1 month ago
filter-mirror.c qom: Have class_init() take a const data argument 1 month ago
filter-replay.c qom: Have class_init() take a const data argument 1 month ago
filter-rewriter.c qom: Have class_init() take a const data argument 1 month ago
filter.c qom: Make InterfaceInfo[] uses const 1 month ago
hub.c include: Rename sysemu/ -> system/ 6 months ago
hub.h
l2tpv3.c net: Increase L2TPv3 buffer to fit jumboframes 2 years ago
meson.build net: fix build when libbpf is disabled, but libxdp is enabled 7 months ago
net-hmp-cmds.c qapi: Move include/qapi/qmp/ to include/qobject/ 4 months ago
net.c net: move backend cleanup to NIC cleanup 3 months ago
netmap.c tap: Remove qemu_using_vnet_hdr() 1 year ago
queue.c net: Remove deadcode 8 months ago
slirp.c qapi: Move include/qapi/qmp/ to include/qobject/ 4 months ago
socket.c net: socket: remove net_init_socket() 2 years ago
stream.c net/stream: deprecate 'reconnect' in favor of 'reconnect-ms' 7 months ago
tap-bsd.c tap: Remove tap_probe_vnet_hdr_len() 1 year ago
tap-linux.c tap-linux: Open ipvtap and macvtap 3 months ago
tap-linux.h tap: Add USO support to tap device. 2 years ago
tap-solaris.c tap: Remove tap_probe_vnet_hdr_len() 1 year ago
tap-stub.c tap: Remove tap_probe_vnet_hdr_len() 1 year ago
tap-win32.c net/tap-win32: Fix gcc 14 format truncation errors 7 months ago
tap.c include: Rename sysemu/ -> system/ 6 months ago
tap_int.h tap: Remove tap_probe_vnet_hdr_len() 1 year ago
trace-events vdpa: add trace event for vhost_vdpa_net_load_mq 1 year ago
trace.h
util.c
util.h Replace config-time define HOST_WORDS_BIGENDIAN 3 years ago
vde.c net: introduce qemu_set_info_str() function 3 years ago
vhost-user-stub.c
vhost-user.c net: vhost-user: add QAPI events to report connection state 4 months ago
vhost-vdpa-stub.c vhost-net-vdpa: add stubs for when no virtio-net device is present 3 years ago
vhost-vdpa.c vdpa: move iova_tree allocation to net_vhost_vdpa_init 5 days ago
vmnet-bridged.m net/vmnet: Drop ifdef for macOS versions older than 12.0 11 months ago
vmnet-common.m error: Strip trailing '\n' from an error string argument 3 months ago
vmnet-host.c net/vmnet: Drop ifdef for macOS versions older than 12.0 11 months ago
vmnet-shared.c net/vmnet: Drop ifdef for macOS versions older than 12.0 11 months ago
vmnet_int.h vmnet: stop recieving events when VM is stopped 2 years ago