/openbmc/qemu/net/ |
H A D | vhost-user.c | 27 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 D | meson.build | 14 vhost_user = static_library('vhost-user', variable 20 link_whole: vhost_user) 24 link_with: vhost_user,
|
/openbmc/qemu/hw/virtio/ |
H A D | vhost-user-base.c | 135 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 D | vhost-user-vsock.c | 104 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 D | vhost-user.c | 242 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 D | vhost-user-fs.c | 235 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 D | vhost-user-scmi.c | 223 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 D | vhost-user.c | 31 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 D | cryptodev-vhost-user.c | 48 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 D | vhost-user-scsi.c | 160 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 D | vhost-user-blk.c | 347 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 D | vhost-user-scsi.h | 36 VhostUserState vhost_user; member
|
H A D | vhost-user-vsock.h | 29 VhostUserState vhost_user; member
|
H A D | vhost-user-scmi.h | 24 VhostUserState vhost_user; member
|
H A D | vhost-user-fs.h | 39 VhostUserState vhost_user; member
|
H A D | vhost-user-blk.h | 39 VhostUserState vhost_user; member
|
H A D | vhost-user-base.h | 29 VhostUserState vhost_user; member
|
/openbmc/qemu/contrib/vhost-user-input/ |
H A D | meson.build | 2 dependencies: [qemuutil, vhost_user],
|
/openbmc/qemu/contrib/vhost-user-blk/ |
H A D | meson.build | 2 dependencies: [qemuutil, vhost_user],
|
/openbmc/qemu/contrib/vhost-user-scsi/ |
H A D | meson.build | 3 dependencies: [qemuutil, libiscsi, vhost_user],
|
/openbmc/qemu/include/sysemu/ |
H A D | vhost-user-backend.h | 36 VhostUserState vhost_user; member
|
/openbmc/qemu/contrib/vhost-user-gpu/ |
H A D | meson.build | 3 dependencies: [qemuutil, pixman, gbm, virgl, vhost_user, opengl],
|
/openbmc/qemu/tests/ |
H A D | meson.build | 74 dependencies: [qemuutil, vhost_user])
|
/openbmc/qemu/util/ |
H A D | meson.build | 115 util_ss.add(files('vhost-user-server.c'), vhost_user)
|
/openbmc/qemu/ |
H A D | meson_options.txt | 302 option('vhost_user', type: 'feature', value: 'auto', feature
|