Home
last modified time | relevance | path

Searched refs:vhost (Results 1 – 25 of 87) sorted by relevance

1234

/openbmc/linux/drivers/scsi/ibmvscsi/
H A Dibmvfc.c214 struct ibmvfc_host *vhost = evt->vhost; in ibmvfc_trc_start() local
250 struct ibmvfc_host *vhost = evt->vhost; in ibmvfc_trc_end() local
825 evt->vhost = vhost; in ibmvfc_init_event_pool()
1669 struct ibmvfc_host *vhost = evt->vhost; in ibmvfc_timeout() local
1765 struct ibmvfc_host *vhost = evt->vhost; in ibmvfc_log_error() local
1899 struct ibmvfc_host *vhost = evt->vhost; in ibmvfc_init_vfc_cmd() local
4885 tgt->vhost = vhost; in ibmvfc_alloc_target()
5588 vhost->job_step(vhost); in ibmvfc_do_work()
5598 vhost->job_step(vhost); in ibmvfc_do_work()
5813 queue->vhost = vhost; in ibmvfc_alloc_queue()
[all …]
H A Dibmvfc.h718 struct ibmvfc_host *vhost; member
743 struct ibmvfc_host *vhost; member
792 struct ibmvfc_host *vhost; member
907 dev_info((t)->vhost->dev, "%llX: " fmt, (t)->scsi_id, ##__VA_ARGS__)
910 dev_err((t)->vhost->dev, "%llX: " fmt, (t)->scsi_id, ##__VA_ARGS__)
914 if ((t)->vhost->log_level >= level) \
918 #define ibmvfc_dbg(vhost, ...) \ argument
919 DBG_CMD(dev_info((vhost)->dev, ##__VA_ARGS__))
921 #define ibmvfc_log(vhost, level, ...) \ argument
923 if ((vhost)->log_level >= level) \
[all …]
/openbmc/qemu/docs/system/devices/
H A Dvhost-user.rst3 vhost-user back ends
10 vhost-user device
28 * - vhost-user-blk
31 * - vhost-user-fs
34 * - vhost-user-gpio
37 * - vhost-user-gpu
40 * - vhost-user-i2c
46 * - vhost-user-rng
52 * - vhost-user-snd
65 vhost-user-device
[all …]
H A Dvhost-user-rng.rst3 QEMU vhost-user-rng - RNG emulation
9 What follows builds on the material presented in vhost-user.rst - it should
15 The vhost-user-rng device implementation was designed to work with a random
16 number generator daemon such as the one found in the vhost-device crate of
19 [1]. https://github.com/rust-vmm/vhost-device
28 host# vhost-device-rng --socket-path=rng.sock -c 1 -m 512 -p 1000
37 -device vhost-user-rng-pci,chardev=rng0 \
H A Dvhost-user-input.rst3 QEMU vhost-user-input - Input emulation
12 The vhost-user-input device implementation was designed to work with a daemon
15 QEMU provides a backend implementation in contrib/vhost-user-input.
30 host# vhost-user-input --socket-path=input.sock \
41 -device vhost-user-input-pci,chardev=mouse0 \
H A Dvirtio-gpu.rst23 * ``vhost-user-vga``
24 * ``vhost-user-pci``
28 device label). There is a vhost-user backend that runs the graphics stack
34 or vhost-user-vga while the non-VGA ones are prefixed with virtio-gpu or
35 vhost-user-gpu.
39 the device name with -device, though vhost-user-gpu does not support MMIO.
/openbmc/qemu/hw/virtio/
H A Dmeson.build15 system_virtio_ss.add(files('vhost.c'))
16 specific_virtio_ss.add(files('vhost-backend.c', 'vhost-iova-tree.c'))
19 specific_virtio_ss.add(files('vhost-user.c'))
20 system_virtio_ss.add(files('vhost-user-base.c'))
23 system_virtio_ss.add(files('vhost-user-device.c'))
35 if_true: files('vhost-user-i2c-pci.c'))
37 if_true: files('vhost-user-rng-pci.c'))
39 if_true: files('vhost-user-snd-pci.c'))
44 system_virtio_ss.add(files('vhost-vdpa.c'))
45 specific_virtio_ss.add(files('vhost-shadow-virtqueue.c'))
[all …]
/openbmc/qemu/docs/interop/
H A Dvhost-user.json13 # = vhost user backend discovery & capabilities
19 # List the various vhost user backend types.
63 # List of vhost user "block" features.
94 # List of vhost user "input" features.
125 # List of vhost user "gpu" features.
156 # Capabilities reported by vhost user backends.
158 # @type: The vhost user backend type.
221 # $ vim /etc/qemu/vhost-user/50-qemu-gpu.json
225 # $ vim /etc/qemu/vhost-user/10-qemu-gpu.json
229 # $ vim /etc/qemu/vhost-user/99-qemu-gpu.json
[all …]
H A Dindex.rst26 vhost-user
27 vhost-user-gpu
28 vhost-vdpa
/openbmc/qemu/qapi/
H A Dvirtio.json72 # displayed if the vhost device is active.
119 # the vhost device is active.
125 # @vhost-started: VirtIODevice vhost_started flag
162 # @vhost-dev: Corresponding vhost device info for a given
164 # vhost device.
171 'vhost-started': 'bool',
189 '*vhost-dev': 'VhostStatus' } }
467 # @protocols: List of decoded vhost user protocol features of a vhost
525 # vhost_get_vring_base (if vhost active)
689 # @x-query-virtio-vhost-queue-status:
[all …]
H A Dcryptodev.json44 # @vhost-user: vhost-user
52 'data': ['builtin', 'vhost-user', 'lkcf']}
/openbmc/qemu/docs/devel/
H A Dvirtio-backends.rst13 entirely in QEMU, divided between QEMU and the kernel (vhost) or
15 (vhost-user).
77 vhost-user version.
170 * in the host kernel (a.k.a vhost)
171 * in a separate process (a.k.a. vhost-user)
177 which has to work with either vhost or vhost-user uses
181 For vhost-user devices you also need to add code to track the
183 between QEMU and the external vhost-user process.
185 If you only need to implement a vhost-user backed the other option is
186 a use a QOM-ified version of vhost-user.
[all …]
H A Debpf_rss.rst9 - 'in-qemu' RSS (functions if qemu receives network packets, i.e. vhost=off)
10 - eBPF RSS (can function with also with vhost=on)
32 eBPF RSS turned on by different combinations of vhost-net, vitrio-net and tap configurations:
36 tap,vhost=off & virtio-net-pci,rss=on,hash=off
40 tap,vhost=on & virtio-net-pci,rss=on,hash=off
44 tap,vhost=off & virtio-net-pci,rss=on,hash=on
48 tap,vhost=on & virtio-net-pci,rss=on,hash=on
/openbmc/qemu/hw/display/
H A Dvhost-user-gpu.c447 if (vhost_user_gpu_set_socket(&g->vhost->dev, sv[1]) < 0) { in vhost_user_gpu_do_set_socket()
479 ret = vhost_dev_get_config(&g->vhost->dev, in vhost_user_gpu_get_config()
507 ret = vhost_dev_set_config(&g->vhost->dev, config_data, in vhost_user_gpu_set_config()
527 vhost_user_backend_start(g->vhost); in vhost_user_gpu_set_status()
535 vhost_user_backend_stop(g->vhost); in vhost_user_gpu_set_status()
553 return vhost_virtqueue_pending(&g->vhost->dev, idx); in vhost_user_gpu_guest_notifier_pending()
570 vhost_virtqueue_mask(&g->vhost->dev, vdev, idx, mask); in vhost_user_gpu_guest_notifier_mask()
580 OBJECT(g->vhost), "chardev"); in vhost_user_gpu_instance_init()
588 object_unref(OBJECT(g->vhost)); in vhost_user_gpu_instance_finalize()
598 vhost_user_backend_stop(g->vhost); in vhost_user_gpu_reset()
[all …]
/openbmc/qemu/contrib/vhost-user-gpu/
H A Dmeson.build2 executable('vhost-user-gpu', files('vhost-user-gpu.c', 'virgl.c', 'vugbm.c'),
10 install_dir: qemu_datadir / 'vhost-user')
H A D50-qemu-gpu.json.in2 "description": "QEMU vhost-user-gpu",
4 "binary": "@libexecdir@/vhost-user-gpu"
/openbmc/qemu/contrib/vhost-user-blk/
H A Dmeson.build1 executable('vhost-user-blk', files('vhost-user-blk.c'),
/openbmc/qemu/net/
H A Dmeson.build45 …system_ss.add(when: 'CONFIG_VIRTIO_NET', if_true: files('vhost-user.c'), if_false: files('vhost-us…
60 …system_ss.add(when: 'CONFIG_VIRTIO_NET', if_true: files('vhost-vdpa.c'), if_false: files('vhost-vd…
/openbmc/qemu/contrib/vhost-user-scsi/
H A Dmeson.build2 executable('vhost-user-scsi', files('vhost-user-scsi.c'),
/openbmc/linux/tools/perf/trace/beauty/
H A Dvhost_virtio_ioctl.sh8 grep -E $regex ${header_dir}/vhost.h | \
15 grep -E $regex ${header_dir}/vhost.h | \
/openbmc/qemu/backends/
H A Dmeson.build26 system_ss.add(when: 'CONFIG_VIRTIO', if_true: files('vhost-user.c'))
28 system_ss.add(when: 'CONFIG_VIRTIO_CRYPTO', if_true: files('cryptodev-vhost.c'))
31 system_ss.add(when: 'CONFIG_VIRTIO_CRYPTO', if_true: files('cryptodev-vhost-user.c'))
/openbmc/linux/drivers/vhost/
H A DKconfig5 Generic IOTLB implementation for vhost and vringh.
26 the core of vhost.
56 tristate "vhost virtio-vsock driver"
83 bool "Cross-endian support for vhost"
86 This option allows vhost to support guests with a different byte
/openbmc/qemu/hw/scsi/
H A Dmeson.build20 virtio_scsi_ss.add(when: 'CONFIG_VHOST_SCSI', if_true: files('vhost-scsi.c'))
21 virtio_scsi_ss.add(when: 'CONFIG_VHOST_USER_SCSI', if_true: files('vhost-user-scsi.c'))
24 specific_virtio_scsi_ss.add(when: 'CONFIG_VHOST_SCSI_COMMON', if_true: files('vhost-scsi-common.c'))
/openbmc/linux/tools/virtio/
H A DMakefile21 vpath %.c ../../drivers/virtio ../../drivers/vhost
31 OOT_VHOST=`pwd`/../../drivers/vhost
50 .PHONY: all test mod clean vhost oot oot-clean oot-build
/openbmc/qemu/subprojects/libvhost-user/
H A Dmeson.build14 vhost_user = static_library('vhost-user',
22 vhost_user_glib = static_library('vhost-user-glib',

1234