Home
last modified time | relevance | path

Searched refs:vhost_user (Results 1 – 25 of 28) sorted by relevance

12

/openbmc/qemu/net/
H A Dvhost-user.c27 VhostUserState *vhost_user; member
175 if (s->vhost_user) { in net_vhost_user_cleanup()
176 vhost_user_cleanup(s->vhost_user); in net_vhost_user_cleanup()
177 g_free(s->vhost_user); in net_vhost_user_cleanup()
178 s->vhost_user = NULL; in net_vhost_user_cleanup()
295 if (vhost_user_start(queues, ncs, s->vhost_user) < 0) { in net_vhost_user_event()
361 s->vhost_user = user; in net_vhost_user_init()
384 s->vhost_user = NULL; in net_vhost_user_init()
426 vhost_user_opts = &netdev->u.vhost_user; in net_init_vhost_user()
/openbmc/qemu/subprojects/libvhost-user/
H A Dmeson.build14 vhost_user = static_library('vhost-user', variable
20 link_whole: vhost_user)
24 link_with: vhost_user,
/openbmc/qemu/hw/virtio/
H A Dvhost-user-base.c135 g_assert(vub->config_size && vub->vhost_user.supports_config == true); in vub_get_config()
148 g_assert(vub->config_size && vub->vhost_user.supports_config == true); in vub_set_config()
183 vhost_user_cleanup(&vub->vhost_user); in do_vhost_user_cleanup()
208 if (vub->vhost_user.supports_config) { in vub_connect()
300 vub->vhost_user.supports_config = true; in vub_device_realize()
303 if (!vhost_user_init(&vub->vhost_user, &vub->chardev, errp)) { in vub_device_realize()
327 ret = vhost_dev_init(&vub->vhost_dev, &vub->vhost_user, in vub_device_realize()
H A Dvhost-user-vsock.c104 if (!vhost_user_init(&vsock->vhost_user, &vsock->conf.chardev, errp)) { in vuv_device_realize()
112 ret = vhost_dev_init(&vvc->vhost_dev, &vsock->vhost_user, in vuv_device_realize()
130 vhost_user_cleanup(&vsock->vhost_user); in vuv_device_realize()
147 vhost_user_cleanup(&vsock->vhost_user); in vuv_device_unrealize()
H A Dvhost-user.c242 struct vhost_user { struct
277 struct vhost_user *u = dev->opaque; in vhost_user_read_header() argument
305 struct vhost_user *u = dev->opaque; in vhost_user_read()
385 struct vhost_user *u = dev->opaque; in vhost_user_write()
505 static int vhost_user_fill_set_mem_table_msg(struct vhost_user *u, in vhost_user_fill_set_mem_table_msg()
576 struct vhost_user *u = dev->opaque; in scrub_shadow_regions()
666 struct vhost_user *u = dev->opaque; in send_remove_regions()
720 struct vhost_user *u = dev->opaque; in send_add_regions()
832 struct vhost_user *u = dev->opaque; in vhost_user_add_remove_regions()
895 struct vhost_user *u = dev->opaque; in vhost_user_set_mem_table_postcopy()
[all …]
H A Dvhost-user-fs.c235 if (!vhost_user_init(&fs->vhost_user, &fs->conf.chardev, errp)) { in vuf_device_realize()
253 ret = vhost_dev_init(&fs->vhost_dev, &fs->vhost_user, in vuf_device_realize()
262 vhost_user_cleanup(&fs->vhost_user); in vuf_device_realize()
285 vhost_user_cleanup(&fs->vhost_user); in vuf_device_unrealize()
H A Dvhost-user-scmi.c223 vhost_user_cleanup(&scmi->vhost_user); in do_vhost_user_cleanup()
239 if (!vhost_user_init(&scmi->vhost_user, &scmi->chardev, errp)) { in vu_scmi_device_realize()
250 ret = vhost_dev_init(&scmi->vhost_dev, &scmi->vhost_user, in vu_scmi_device_realize()
/openbmc/qemu/backends/
H A Dvhost-user.c31 if (!vhost_user_init(&b->vhost_user, &b->chr, errp)) { in vhost_user_backend_dev_init()
39 ret = vhost_dev_init(&b->dev, &b->vhost_user, VHOST_BACKEND_TYPE_USER, 0, in vhost_user_backend_dev_init()
178 vhost_user_cleanup(&b->vhost_user); in vhost_user_backend_finalize()
H A Dcryptodev-vhost-user.c48 VhostUserState vhost_user; member
105 options.opaque = &s->vhost_user; in cryptodev_vhost_user_start()
216 if (!vhost_user_init(&s->vhost_user, &s->chr, errp)) { in cryptodev_vhost_user_init()
354 vhost_user_cleanup(&s->vhost_user); in cryptodev_vhost_user_cleanup()
/openbmc/qemu/hw/scsi/
H A Dvhost-user-scsi.c160 ret = vhost_dev_init(&vsc->dev, &s->vhost_user, VHOST_BACKEND_TYPE_USER, 0, in vhost_user_scsi_connect()
276 if (!vhost_user_init(&s->vhost_user, &vs->conf.chardev, errp)) { in vhost_user_scsi_realize()
314 vhost_user_cleanup(&s->vhost_user); in vhost_user_scsi_realize()
340 vhost_user_cleanup(&s->vhost_user); in vhost_user_scsi_unrealize()
/openbmc/qemu/hw/block/
H A Dvhost-user-blk.c347 s->vhost_user.supports_config = true; in vhost_user_blk_connect()
348 ret = vhost_dev_init(&s->dev, &s->vhost_user, VHOST_BACKEND_TYPE_USER, 0, in vhost_user_blk_connect()
474 if (!vhost_user_init(&s->vhost_user, &s->chardev, errp)) { in vhost_user_blk_device_realize()
522 vhost_user_cleanup(&s->vhost_user); in vhost_user_blk_device_realize()
546 vhost_user_cleanup(&s->vhost_user); in vhost_user_blk_device_unrealize()
/openbmc/qemu/include/hw/virtio/
H A Dvhost-user-scsi.h36 VhostUserState vhost_user; member
H A Dvhost-user-vsock.h29 VhostUserState vhost_user; member
H A Dvhost-user-scmi.h24 VhostUserState vhost_user; member
H A Dvhost-user-fs.h39 VhostUserState vhost_user; member
H A Dvhost-user-blk.h39 VhostUserState vhost_user; member
H A Dvhost-user-base.h29 VhostUserState vhost_user; member
/openbmc/qemu/contrib/vhost-user-input/
H A Dmeson.build2 dependencies: [qemuutil, vhost_user],
/openbmc/qemu/contrib/vhost-user-blk/
H A Dmeson.build2 dependencies: [qemuutil, vhost_user],
/openbmc/qemu/contrib/vhost-user-scsi/
H A Dmeson.build3 dependencies: [qemuutil, libiscsi, vhost_user],
/openbmc/qemu/include/sysemu/
H A Dvhost-user-backend.h36 VhostUserState vhost_user; member
/openbmc/qemu/contrib/vhost-user-gpu/
H A Dmeson.build3 dependencies: [qemuutil, pixman, gbm, virgl, vhost_user, opengl],
/openbmc/qemu/tests/
H A Dmeson.build74 dependencies: [qemuutil, vhost_user])
/openbmc/qemu/util/
H A Dmeson.build115 util_ss.add(files('vhost-user-server.c'), vhost_user)
/openbmc/qemu/
H A Dmeson_options.txt302 option('vhost_user', type: 'feature', value: 'auto', feature

12