/dports/emulators/qemu/qemu-6.2.0/hw/virtio/ |
H A D | vhost.c | 185 dev->vhost_ops = &kernel_ops; in vhost_set_backend_type() 190 dev->vhost_ops = &user_ops; in vhost_set_backend_type() 195 dev->vhost_ops = &vdpa_ops; in vhost_set_backend_type() 803 if (dev->vhost_ops->vhost_vq_get_addr) { in vhost_virtqueue_set_addr() 1457 if (hdev->vhost_ops) { in vhost_dev_cleanup() 1548 assert(hdev->vhost_ops); in vhost_virtqueue_mask() 1594 assert(hdev->vhost_ops); in vhost_dev_get_config() 1608 assert(hdev->vhost_ops); in vhost_dev_set_config() 1746 assert(hdev->vhost_ops); in vhost_dev_start() 1792 if (hdev->vhost_ops->vhost_dev_start) { in vhost_dev_start() [all …]
|
/dports/emulators/qemu-devel/qemu-de8ed1055c2ce18c95f597eb10df360dcb534f99/hw/virtio/ |
H A D | vhost.c | 185 dev->vhost_ops = &kernel_ops; 190 dev->vhost_ops = &user_ops; 195 dev->vhost_ops = &vdpa_ops; 803 if (dev->vhost_ops->vhost_vq_get_addr) { 1455 if (hdev->vhost_ops) { 1546 assert(hdev->vhost_ops); 1592 assert(hdev->vhost_ops); 1606 assert(hdev->vhost_ops); 1744 assert(hdev->vhost_ops); 1790 if (hdev->vhost_ops->vhost_dev_start) { [all …]
|
/dports/emulators/qemu60/qemu-6.0.0/hw/virtio/ |
H A D | vhost.c | 775 if (dev->vhost_ops->vhost_vq_get_addr) { in vhost_virtqueue_set_addr() 808 if (dev->vhost_ops->vhost_force_iommu) { in vhost_dev_set_features() 1426 if (hdev->vhost_ops) { in vhost_dev_cleanup() 1517 assert(hdev->vhost_ops); in vhost_virtqueue_mask() 1563 assert(hdev->vhost_ops); in vhost_dev_get_config() 1565 if (hdev->vhost_ops->vhost_get_config) { in vhost_dev_get_config() 1575 assert(hdev->vhost_ops); in vhost_dev_set_config() 1713 assert(hdev->vhost_ops); in vhost_dev_start() 1759 if (hdev->vhost_ops->vhost_dev_start) { in vhost_dev_start() 1800 assert(hdev->vhost_ops); in vhost_dev_stop() [all …]
|
H A D | vhost-backend.c | 28 assert(dev->vhost_ops->backend_type == VHOST_BACKEND_TYPE_KERNEL); in vhost_kernel_call() 35 assert(dev->vhost_ops->backend_type == VHOST_BACKEND_TYPE_KERNEL); in vhost_kernel_init() 46 assert(dev->vhost_ops->backend_type == VHOST_BACKEND_TYPE_KERNEL); in vhost_kernel_cleanup() 336 dev->vhost_ops = &kernel_ops; in vhost_set_backend_type() 341 dev->vhost_ops = &user_ops; in vhost_set_backend_type() 346 dev->vhost_ops = &vdpa_ops; in vhost_set_backend_type() 383 if (dev->vhost_ops && dev->vhost_ops->vhost_send_device_iotlb_msg) in vhost_backend_update_device_iotlb() 384 return dev->vhost_ops->vhost_send_device_iotlb_msg(dev, &imsg); in vhost_backend_update_device_iotlb() 398 if (dev->vhost_ops && dev->vhost_ops->vhost_send_device_iotlb_msg) in vhost_backend_invalidate_device_iotlb() 399 return dev->vhost_ops->vhost_send_device_iotlb_msg(dev, &imsg); in vhost_backend_invalidate_device_iotlb()
|
H A D | vhost-vsock.c | 37 const VhostOps *vhost_ops = vvc->vhost_dev.vhost_ops; in vhost_vsock_set_guest_cid() local 40 if (!vhost_ops->vhost_vsock_set_guest_cid) { in vhost_vsock_set_guest_cid() 44 ret = vhost_ops->vhost_vsock_set_guest_cid(&vvc->vhost_dev, in vhost_vsock_set_guest_cid() 55 const VhostOps *vhost_ops = vvc->vhost_dev.vhost_ops; in vhost_vsock_set_running() local 58 if (!vhost_ops->vhost_vsock_set_running) { in vhost_vsock_set_running() 62 ret = vhost_ops->vhost_vsock_set_running(&vvc->vhost_dev, start); in vhost_vsock_set_running()
|
/dports/emulators/qemu5/qemu-5.2.0/hw/virtio/ |
H A D | vhost.c | 766 if (dev->vhost_ops->vhost_vq_get_addr) { in vhost_virtqueue_set_addr() 799 if (dev->vhost_ops->vhost_force_iommu) { in vhost_dev_set_features() 1419 if (hdev->vhost_ops) { in vhost_dev_cleanup() 1510 assert(hdev->vhost_ops); in vhost_virtqueue_mask() 1556 assert(hdev->vhost_ops); in vhost_dev_get_config() 1558 if (hdev->vhost_ops->vhost_get_config) { in vhost_dev_get_config() 1568 assert(hdev->vhost_ops); in vhost_dev_set_config() 1706 assert(hdev->vhost_ops); in vhost_dev_start() 1752 if (hdev->vhost_ops->vhost_dev_start) { in vhost_dev_start() 1793 assert(hdev->vhost_ops); in vhost_dev_stop() [all …]
|
H A D | vhost-backend.c | 28 assert(dev->vhost_ops->backend_type == VHOST_BACKEND_TYPE_KERNEL); in vhost_kernel_call() 35 assert(dev->vhost_ops->backend_type == VHOST_BACKEND_TYPE_KERNEL); in vhost_kernel_init() 46 assert(dev->vhost_ops->backend_type == VHOST_BACKEND_TYPE_KERNEL); in vhost_kernel_cleanup() 336 dev->vhost_ops = &kernel_ops; in vhost_set_backend_type() 341 dev->vhost_ops = &user_ops; in vhost_set_backend_type() 346 dev->vhost_ops = &vdpa_ops; in vhost_set_backend_type() 383 if (dev->vhost_ops && dev->vhost_ops->vhost_send_device_iotlb_msg) in vhost_backend_update_device_iotlb() 384 return dev->vhost_ops->vhost_send_device_iotlb_msg(dev, &imsg); in vhost_backend_update_device_iotlb() 398 if (dev->vhost_ops && dev->vhost_ops->vhost_send_device_iotlb_msg) in vhost_backend_invalidate_device_iotlb() 399 return dev->vhost_ops->vhost_send_device_iotlb_msg(dev, &imsg); in vhost_backend_invalidate_device_iotlb()
|
H A D | vhost-vsock.c | 37 const VhostOps *vhost_ops = vvc->vhost_dev.vhost_ops; in vhost_vsock_set_guest_cid() local 40 if (!vhost_ops->vhost_vsock_set_guest_cid) { in vhost_vsock_set_guest_cid() 44 ret = vhost_ops->vhost_vsock_set_guest_cid(&vvc->vhost_dev, in vhost_vsock_set_guest_cid() 55 const VhostOps *vhost_ops = vvc->vhost_dev.vhost_ops; in vhost_vsock_set_running() local 58 if (!vhost_ops->vhost_vsock_set_running) { in vhost_vsock_set_running() 62 ret = vhost_ops->vhost_vsock_set_running(&vvc->vhost_dev, start); in vhost_vsock_set_running()
|
/dports/emulators/qemu-guest-agent/qemu-5.0.1/hw/virtio/ |
H A D | vhost.c | 267 return dev->vhost_ops->vhost_requires_shm_log && in vhost_dev_log_is_shared() 1229 r = hdev->vhost_ops->vhost_set_owner(hdev); in vhost_dev_init() 1350 if (hdev->vhost_ops) { in vhost_dev_cleanup() 1441 assert(hdev->vhost_ops); in vhost_virtqueue_mask() 1487 assert(hdev->vhost_ops); in vhost_dev_get_config() 1489 if (hdev->vhost_ops->vhost_get_config) { in vhost_dev_get_config() 1499 assert(hdev->vhost_ops); in vhost_dev_set_config() 1501 if (hdev->vhost_ops->vhost_set_config) { in vhost_dev_set_config() 1600 if (dev->vhost_ops->vhost_get_inflight_fd) { in vhost_dev_get_inflight() 1617 assert(hdev->vhost_ops); in vhost_dev_start() [all …]
|
H A D | vhost-backend.c | 27 assert(dev->vhost_ops->backend_type == VHOST_BACKEND_TYPE_KERNEL); in vhost_kernel_call() 34 assert(dev->vhost_ops->backend_type == VHOST_BACKEND_TYPE_KERNEL); in vhost_kernel_init() 45 assert(dev->vhost_ops->backend_type == VHOST_BACKEND_TYPE_KERNEL); in vhost_kernel_cleanup() 281 dev->vhost_ops = &kernel_ops; in vhost_set_backend_type() 286 dev->vhost_ops = &user_ops; in vhost_set_backend_type() 323 if (dev->vhost_ops && dev->vhost_ops->vhost_send_device_iotlb_msg) in vhost_backend_update_device_iotlb() 324 return dev->vhost_ops->vhost_send_device_iotlb_msg(dev, &imsg); in vhost_backend_update_device_iotlb() 338 if (dev->vhost_ops && dev->vhost_ops->vhost_send_device_iotlb_msg) in vhost_backend_invalidate_device_iotlb() 339 return dev->vhost_ops->vhost_send_device_iotlb_msg(dev, &imsg); in vhost_backend_invalidate_device_iotlb()
|
/dports/emulators/qemu-cheri/qemu-0a323821042c36e21ea80e58b9545dfc3b0cb8ef/hw/virtio/ |
H A D | vhost.c | 267 return dev->vhost_ops->vhost_requires_shm_log && in vhost_dev_log_is_shared() 1229 r = hdev->vhost_ops->vhost_set_owner(hdev); in vhost_dev_init() 1350 if (hdev->vhost_ops) { in vhost_dev_cleanup() 1441 assert(hdev->vhost_ops); in vhost_virtqueue_mask() 1487 assert(hdev->vhost_ops); in vhost_dev_get_config() 1489 if (hdev->vhost_ops->vhost_get_config) { in vhost_dev_get_config() 1499 assert(hdev->vhost_ops); in vhost_dev_set_config() 1501 if (hdev->vhost_ops->vhost_set_config) { in vhost_dev_set_config() 1600 if (dev->vhost_ops->vhost_get_inflight_fd) { in vhost_dev_get_inflight() 1617 assert(hdev->vhost_ops); in vhost_dev_start() [all …]
|
H A D | vhost-backend.c | 27 assert(dev->vhost_ops->backend_type == VHOST_BACKEND_TYPE_KERNEL); in vhost_kernel_call() 34 assert(dev->vhost_ops->backend_type == VHOST_BACKEND_TYPE_KERNEL); in vhost_kernel_init() 45 assert(dev->vhost_ops->backend_type == VHOST_BACKEND_TYPE_KERNEL); in vhost_kernel_cleanup() 281 dev->vhost_ops = &kernel_ops; in vhost_set_backend_type() 286 dev->vhost_ops = &user_ops; in vhost_set_backend_type() 323 if (dev->vhost_ops && dev->vhost_ops->vhost_send_device_iotlb_msg) in vhost_backend_update_device_iotlb() 324 return dev->vhost_ops->vhost_send_device_iotlb_msg(dev, &imsg); in vhost_backend_update_device_iotlb() 338 if (dev->vhost_ops && dev->vhost_ops->vhost_send_device_iotlb_msg) in vhost_backend_invalidate_device_iotlb() 339 return dev->vhost_ops->vhost_send_device_iotlb_msg(dev, &imsg); in vhost_backend_invalidate_device_iotlb()
|
/dports/emulators/qemu-powernv/qemu-powernv-3.0.50/hw/virtio/ |
H A D | vhost.c | 257 return dev->vhost_ops->vhost_requires_shm_log && in vhost_dev_log_is_shared() 1198 r = hdev->vhost_ops->vhost_set_owner(hdev); in vhost_dev_init() 1319 if (hdev->vhost_ops) { in vhost_dev_cleanup() 1410 assert(hdev->vhost_ops); in vhost_virtqueue_mask() 1456 assert(hdev->vhost_ops); in vhost_dev_get_config() 1458 if (hdev->vhost_ops->vhost_get_config) { in vhost_dev_get_config() 1468 assert(hdev->vhost_ops); in vhost_dev_set_config() 1470 if (hdev->vhost_ops->vhost_set_config) { in vhost_dev_set_config() 1490 assert(hdev->vhost_ops); in vhost_dev_start() 1572 assert(hdev->vhost_ops); in vhost_dev_stop() [all …]
|
H A D | vhost-backend.c | 23 assert(dev->vhost_ops->backend_type == VHOST_BACKEND_TYPE_KERNEL); in vhost_kernel_call() 30 assert(dev->vhost_ops->backend_type == VHOST_BACKEND_TYPE_KERNEL); in vhost_kernel_init() 41 assert(dev->vhost_ops->backend_type == VHOST_BACKEND_TYPE_KERNEL); in vhost_kernel_cleanup() 275 dev->vhost_ops = &kernel_ops; in vhost_set_backend_type() 278 dev->vhost_ops = &user_ops; in vhost_set_backend_type() 314 if (dev->vhost_ops && dev->vhost_ops->vhost_send_device_iotlb_msg) in vhost_backend_update_device_iotlb() 315 return dev->vhost_ops->vhost_send_device_iotlb_msg(dev, &imsg); in vhost_backend_update_device_iotlb() 329 if (dev->vhost_ops && dev->vhost_ops->vhost_send_device_iotlb_msg) in vhost_backend_invalidate_device_iotlb() 330 return dev->vhost_ops->vhost_send_device_iotlb_msg(dev, &imsg); in vhost_backend_invalidate_device_iotlb()
|
/dports/emulators/qemu42/qemu-4.2.1/hw/virtio/ |
H A D | vhost.c | 267 return dev->vhost_ops->vhost_requires_shm_log && in vhost_dev_log_is_shared() 1216 r = hdev->vhost_ops->vhost_set_owner(hdev); in vhost_dev_init() 1337 if (hdev->vhost_ops) { in vhost_dev_cleanup() 1428 assert(hdev->vhost_ops); in vhost_virtqueue_mask() 1474 assert(hdev->vhost_ops); in vhost_dev_get_config() 1476 if (hdev->vhost_ops->vhost_get_config) { in vhost_dev_get_config() 1486 assert(hdev->vhost_ops); in vhost_dev_set_config() 1488 if (hdev->vhost_ops->vhost_set_config) { in vhost_dev_set_config() 1587 if (dev->vhost_ops->vhost_get_inflight_fd) { in vhost_dev_get_inflight() 1604 assert(hdev->vhost_ops); in vhost_dev_start() [all …]
|
H A D | vhost-backend.c | 27 assert(dev->vhost_ops->backend_type == VHOST_BACKEND_TYPE_KERNEL); in vhost_kernel_call() 34 assert(dev->vhost_ops->backend_type == VHOST_BACKEND_TYPE_KERNEL); in vhost_kernel_init() 45 assert(dev->vhost_ops->backend_type == VHOST_BACKEND_TYPE_KERNEL); in vhost_kernel_cleanup() 281 dev->vhost_ops = &kernel_ops; in vhost_set_backend_type() 286 dev->vhost_ops = &user_ops; in vhost_set_backend_type() 323 if (dev->vhost_ops && dev->vhost_ops->vhost_send_device_iotlb_msg) in vhost_backend_update_device_iotlb() 324 return dev->vhost_ops->vhost_send_device_iotlb_msg(dev, &imsg); in vhost_backend_update_device_iotlb() 338 if (dev->vhost_ops && dev->vhost_ops->vhost_send_device_iotlb_msg) in vhost_backend_invalidate_device_iotlb() 339 return dev->vhost_ops->vhost_send_device_iotlb_msg(dev, &imsg); in vhost_backend_invalidate_device_iotlb()
|
/dports/emulators/qemu-utils/qemu-4.2.1/hw/virtio/ |
H A D | vhost.c | 267 return dev->vhost_ops->vhost_requires_shm_log && in vhost_dev_log_is_shared() 1216 r = hdev->vhost_ops->vhost_set_owner(hdev); in vhost_dev_init() 1337 if (hdev->vhost_ops) { in vhost_dev_cleanup() 1428 assert(hdev->vhost_ops); in vhost_virtqueue_mask() 1474 assert(hdev->vhost_ops); in vhost_dev_get_config() 1476 if (hdev->vhost_ops->vhost_get_config) { in vhost_dev_get_config() 1486 assert(hdev->vhost_ops); in vhost_dev_set_config() 1488 if (hdev->vhost_ops->vhost_set_config) { in vhost_dev_set_config() 1587 if (dev->vhost_ops->vhost_get_inflight_fd) { in vhost_dev_get_inflight() 1604 assert(hdev->vhost_ops); in vhost_dev_start() [all …]
|
H A D | vhost-backend.c | 27 assert(dev->vhost_ops->backend_type == VHOST_BACKEND_TYPE_KERNEL); in vhost_kernel_call() 34 assert(dev->vhost_ops->backend_type == VHOST_BACKEND_TYPE_KERNEL); in vhost_kernel_init() 45 assert(dev->vhost_ops->backend_type == VHOST_BACKEND_TYPE_KERNEL); in vhost_kernel_cleanup() 281 dev->vhost_ops = &kernel_ops; in vhost_set_backend_type() 286 dev->vhost_ops = &user_ops; in vhost_set_backend_type() 323 if (dev->vhost_ops && dev->vhost_ops->vhost_send_device_iotlb_msg) in vhost_backend_update_device_iotlb() 324 return dev->vhost_ops->vhost_send_device_iotlb_msg(dev, &imsg); in vhost_backend_update_device_iotlb() 338 if (dev->vhost_ops && dev->vhost_ops->vhost_send_device_iotlb_msg) in vhost_backend_invalidate_device_iotlb() 339 return dev->vhost_ops->vhost_send_device_iotlb_msg(dev, &imsg); in vhost_backend_invalidate_device_iotlb()
|
/dports/emulators/qemu42/qemu-4.2.1/hw/net/ |
H A D | vhost_net.c | 396 const VhostOps *vhost_ops = net->dev.vhost_ops; in vhost_net_notify_migration_done() local 398 assert(vhost_ops->backend_type == VHOST_BACKEND_TYPE_USER); in vhost_net_notify_migration_done() 399 assert(vhost_ops->vhost_migration_done); in vhost_net_notify_migration_done() 401 return vhost_ops->vhost_migration_done(&net->dev, mac_addr); in vhost_net_notify_migration_done() 443 const VhostOps *vhost_ops = net->dev.vhost_ops; in vhost_set_vring_enable() local 447 if (vhost_ops && vhost_ops->vhost_set_vring_enable) { in vhost_set_vring_enable() 448 return vhost_ops->vhost_set_vring_enable(&net->dev, enable); in vhost_set_vring_enable() 456 const VhostOps *vhost_ops = net->dev.vhost_ops; in vhost_net_set_mtu() local 458 if (!vhost_ops->vhost_net_set_mtu) { in vhost_net_set_mtu() 462 return vhost_ops->vhost_net_set_mtu(&net->dev, mtu); in vhost_net_set_mtu()
|
/dports/emulators/qemu-utils/qemu-4.2.1/hw/net/ |
H A D | vhost_net.c | 396 const VhostOps *vhost_ops = net->dev.vhost_ops; in vhost_net_notify_migration_done() local 398 assert(vhost_ops->backend_type == VHOST_BACKEND_TYPE_USER); in vhost_net_notify_migration_done() 399 assert(vhost_ops->vhost_migration_done); in vhost_net_notify_migration_done() 401 return vhost_ops->vhost_migration_done(&net->dev, mac_addr); in vhost_net_notify_migration_done() 443 const VhostOps *vhost_ops = net->dev.vhost_ops; in vhost_set_vring_enable() local 447 if (vhost_ops && vhost_ops->vhost_set_vring_enable) { in vhost_set_vring_enable() 448 return vhost_ops->vhost_set_vring_enable(&net->dev, enable); in vhost_set_vring_enable() 456 const VhostOps *vhost_ops = net->dev.vhost_ops; in vhost_net_set_mtu() local 458 if (!vhost_ops->vhost_net_set_mtu) { in vhost_net_set_mtu() 462 return vhost_ops->vhost_net_set_mtu(&net->dev, mtu); in vhost_net_set_mtu()
|
/dports/emulators/qemu-guest-agent/qemu-5.0.1/hw/net/ |
H A D | vhost_net.c | 396 const VhostOps *vhost_ops = net->dev.vhost_ops; in vhost_net_notify_migration_done() local 398 assert(vhost_ops->backend_type == VHOST_BACKEND_TYPE_USER); in vhost_net_notify_migration_done() 399 assert(vhost_ops->vhost_migration_done); in vhost_net_notify_migration_done() 401 return vhost_ops->vhost_migration_done(&net->dev, mac_addr); in vhost_net_notify_migration_done() 443 const VhostOps *vhost_ops = net->dev.vhost_ops; in vhost_set_vring_enable() local 447 if (vhost_ops && vhost_ops->vhost_set_vring_enable) { in vhost_set_vring_enable() 448 return vhost_ops->vhost_set_vring_enable(&net->dev, enable); in vhost_set_vring_enable() 456 const VhostOps *vhost_ops = net->dev.vhost_ops; in vhost_net_set_mtu() local 458 if (!vhost_ops->vhost_net_set_mtu) { in vhost_net_set_mtu() 462 return vhost_ops->vhost_net_set_mtu(&net->dev, mtu); in vhost_net_set_mtu()
|
/dports/emulators/qemu-cheri/qemu-0a323821042c36e21ea80e58b9545dfc3b0cb8ef/hw/net/ |
H A D | vhost_net.c | 396 const VhostOps *vhost_ops = net->dev.vhost_ops; in vhost_net_notify_migration_done() local 398 assert(vhost_ops->backend_type == VHOST_BACKEND_TYPE_USER); in vhost_net_notify_migration_done() 399 assert(vhost_ops->vhost_migration_done); in vhost_net_notify_migration_done() 401 return vhost_ops->vhost_migration_done(&net->dev, mac_addr); in vhost_net_notify_migration_done() 443 const VhostOps *vhost_ops = net->dev.vhost_ops; in vhost_set_vring_enable() local 447 if (vhost_ops && vhost_ops->vhost_set_vring_enable) { in vhost_set_vring_enable() 448 return vhost_ops->vhost_set_vring_enable(&net->dev, enable); in vhost_set_vring_enable() 456 const VhostOps *vhost_ops = net->dev.vhost_ops; in vhost_net_set_mtu() local 458 if (!vhost_ops->vhost_net_set_mtu) { in vhost_net_set_mtu() 462 return vhost_ops->vhost_net_set_mtu(&net->dev, mtu); in vhost_net_set_mtu()
|
/dports/emulators/qemu60/qemu-6.0.0/hw/net/ |
H A D | vhost_net.c | 410 const VhostOps *vhost_ops = net->dev.vhost_ops; in vhost_net_notify_migration_done() local 412 assert(vhost_ops->backend_type == VHOST_BACKEND_TYPE_USER); in vhost_net_notify_migration_done() 413 assert(vhost_ops->vhost_migration_done); in vhost_net_notify_migration_done() 415 return vhost_ops->vhost_migration_done(&net->dev, mac_addr); in vhost_net_notify_migration_done() 463 const VhostOps *vhost_ops = net->dev.vhost_ops; in vhost_set_vring_enable() local 467 if (vhost_ops && vhost_ops->vhost_set_vring_enable) { in vhost_set_vring_enable() 468 return vhost_ops->vhost_set_vring_enable(&net->dev, enable); in vhost_set_vring_enable() 476 const VhostOps *vhost_ops = net->dev.vhost_ops; in vhost_net_set_mtu() local 478 if (!vhost_ops->vhost_net_set_mtu) { in vhost_net_set_mtu() 482 return vhost_ops->vhost_net_set_mtu(&net->dev, mtu); in vhost_net_set_mtu()
|
/dports/emulators/qemu-powernv/qemu-powernv-3.0.50/hw/net/ |
H A D | vhost_net.c | 386 const VhostOps *vhost_ops = net->dev.vhost_ops; in vhost_net_notify_migration_done() local 388 assert(vhost_ops->backend_type == VHOST_BACKEND_TYPE_USER); in vhost_net_notify_migration_done() 389 assert(vhost_ops->vhost_migration_done); in vhost_net_notify_migration_done() 391 return vhost_ops->vhost_migration_done(&net->dev, mac_addr); in vhost_net_notify_migration_done() 431 const VhostOps *vhost_ops = net->dev.vhost_ops; in vhost_set_vring_enable() local 435 if (vhost_ops && vhost_ops->vhost_set_vring_enable) { in vhost_set_vring_enable() 436 return vhost_ops->vhost_set_vring_enable(&net->dev, enable); in vhost_set_vring_enable() 444 const VhostOps *vhost_ops = net->dev.vhost_ops; in vhost_net_set_mtu() local 446 if (!vhost_ops->vhost_net_set_mtu) { in vhost_net_set_mtu() 450 return vhost_ops->vhost_net_set_mtu(&net->dev, mtu); in vhost_net_set_mtu()
|
/dports/emulators/qemu5/qemu-5.2.0/hw/net/ |
H A D | vhost_net.c | 410 const VhostOps *vhost_ops = net->dev.vhost_ops; in vhost_net_notify_migration_done() local 412 assert(vhost_ops->backend_type == VHOST_BACKEND_TYPE_USER); in vhost_net_notify_migration_done() 413 assert(vhost_ops->vhost_migration_done); in vhost_net_notify_migration_done() 415 return vhost_ops->vhost_migration_done(&net->dev, mac_addr); in vhost_net_notify_migration_done() 463 const VhostOps *vhost_ops = net->dev.vhost_ops; in vhost_set_vring_enable() local 467 if (vhost_ops && vhost_ops->vhost_set_vring_enable) { in vhost_set_vring_enable() 468 return vhost_ops->vhost_set_vring_enable(&net->dev, enable); in vhost_set_vring_enable() 476 const VhostOps *vhost_ops = net->dev.vhost_ops; in vhost_net_set_mtu() local 478 if (!vhost_ops->vhost_net_set_mtu) { in vhost_net_set_mtu() 482 return vhost_ops->vhost_net_set_mtu(&net->dev, mtu); in vhost_net_set_mtu()
|