/openbmc/linux/drivers/scsi/ibmvscsi/ |
H A D | ibmvfc.c | 181 static int ibmvfc_check_caps(struct ibmvfc_host *vhost, unsigned long cap_flags) in ibmvfc_check_caps() argument 183 u64 host_caps = be64_to_cpu(vhost->login_buf->resp.capabilities); in ibmvfc_check_caps() 188 static struct ibmvfc_fcp_cmd_iu *ibmvfc_get_fcp_iu(struct ibmvfc_host *vhost, in ibmvfc_get_fcp_iu() argument 191 if (ibmvfc_check_caps(vhost, IBMVFC_HANDLE_VF_WWPN)) in ibmvfc_get_fcp_iu() 197 static struct ibmvfc_fcp_rsp *ibmvfc_get_fcp_rsp(struct ibmvfc_host *vhost, in ibmvfc_get_fcp_rsp() argument 200 if (ibmvfc_check_caps(vhost, IBMVFC_HANDLE_VF_WWPN)) in ibmvfc_get_fcp_rsp() 214 struct ibmvfc_host *vhost = evt->vhost; in ibmvfc_trc_start() local 217 struct ibmvfc_fcp_cmd_iu *iu = ibmvfc_get_fcp_iu(vhost, vfc_cmd); in ibmvfc_trc_start() 219 int index = atomic_inc_return(&vhost->trace_index) & IBMVFC_TRACE_INDEX_MASK; in ibmvfc_trc_start() 221 entry = &vhost->trace[index]; in ibmvfc_trc_start() [all …]
|
H A D | ibmvfc.h | 718 struct ibmvfc_host *vhost; member 743 struct ibmvfc_host *vhost; member 792 struct ibmvfc_host *vhost; member 904 DBG_CMD(dev_info((t)->vhost->dev, "%llX: " fmt, (t)->scsi_id, ##__VA_ARGS__)) 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 [all …]
|
/openbmc/qemu/docs/system/devices/ |
H A D | vhost-user.rst | 3 vhost-user back ends 6 vhost-user back ends are way to service the request of VirtIO devices 10 vhost-user device 16 device that connects via a socket to the vhost-user *daemon*. 21 .. list-table:: vhost-user devices 28 * - vhost-user-blk 30 - See contrib/vhost-user-blk 31 * - vhost-user-fs 34 * - vhost-user-gpio 36 - See https://github.com/rust-vmm/vhost-device [all …]
|
H A D | vhost-user-rng.rst | 3 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 D | vhost-user-input.rst | 3 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 D | virtio-gpu.rst | 23 * ``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 D | meson.build | 6 system_virtio_ss.add(when: 'CONFIG_VHOST_VSOCK_COMMON', if_true: files('vhost-vsock-common.c')) 15 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')) 24 system_virtio_ss.add(when: 'CONFIG_VHOST_USER_GPIO', if_true: files('vhost-user-gpio.c')) 25 system_virtio_ss.add(when: 'CONFIG_VHOST_USER_I2C', if_true: files('vhost-user-i2c.c')) 26 system_virtio_ss.add(when: 'CONFIG_VHOST_USER_RNG', if_true: files('vhost-user-rng.c')) 27 system_virtio_ss.add(when: 'CONFIG_VHOST_USER_SND', if_true: files('vhost-user-snd.c')) [all …]
|
/openbmc/qemu/docs/interop/ |
H A D | vhost-user.json | 13 # = vhost user backend discovery & capabilities 19 # List the various vhost user backend types. 63 # List of vhost user "block" features. 78 # Capabilities reported by vhost user "block" backends 94 # List of vhost user "input" features. 109 # Capabilities reported by vhost user "input" backends 125 # List of vhost user "gpu" features. 140 # Capabilities reported by vhost user "gpu" backends. 156 # Capabilities reported by vhost user backends. 158 # @type: The vhost user backend type. [all …]
|
H A D | index.rst | 26 vhost-user 27 vhost-user-gpu 28 vhost-vdpa
|
/openbmc/qemu/qapi/ |
H A D | virtio.json | 71 # Information about a vhost device. This information will only be 72 # displayed if the vhost device is active. 118 # Also includes the full status of the corresponding vhost device if 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' } } 209 # Poll for the status of virtio-crypto (no vhost-crypto active) [all …]
|
H A D | cryptodev.json | 52 # @vhost-user: vhost-user 59 'data': ['builtin', 'vhost-user', 'lkcf']}
|
/openbmc/qemu/docs/devel/ |
H A D | virtio-backends.rst | 13 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) 176 There are two choices to how to implement vhost code. Most of the code 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 [all …]
|
H A D | ebpf_rss.rst | 9 - '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/docs/system/i386/ |
H A D | nitro-enclave.rst | 9 on Firecracker microvm with a vhost-vsock device for communication with the 19 device emulation is done using vhost-user-vsock which means another process that 20 can do the userspace emulation, like `vhost-device-vsock`_ from rust-vmm crate, 28 .. _vhost-device-vsock: https://github.com/rust-vmm/vhost-device/tree/main/vhost-device-vsock 39 - nitro-enclave.vsock=string (required) (Id of the chardev from '-chardev' option that vhost-user-v… 48 First, run `vhost-device-vsock`__ (or a similar tool that supports vhost-user-vsock). 53 __ https://github.com/rust-vmm/vhost-device/tree/main/vhost-device-vsock#using-the-vsock-backend 55 $ vhost-device-vsock \ 77 VM's CID) and use the forward-listen (e.g., 9001+9002) option of vhost-device-vsock
|
/openbmc/qemu/hw/display/ |
H A D | vhost-user-gpu.c | 447 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() 578 g->vhost = VHOST_USER_BACKEND(object_new(TYPE_VHOST_USER_BACKEND)); in vhost_user_gpu_instance_init() 580 OBJECT(g->vhost), "chardev"); in vhost_user_gpu_instance_init() 588 object_unref(OBJECT(g->vhost)); in vhost_user_gpu_instance_finalize() [all …]
|
/openbmc/qemu/contrib/vhost-user-gpu/ |
H A D | meson.build | 2 executable('vhost-user-gpu', files('vhost-user-gpu.c', 'virgl.c', 'vugbm.c'), 10 install_dir: qemu_datadir / 'vhost-user')
|
H A D | 50-qemu-gpu.json.in | 2 "description": "QEMU vhost-user-gpu", 4 "binary": "@libexecdir@/vhost-user-gpu"
|
/openbmc/qemu/net/ |
H A D | meson.build | 45 …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/linux/drivers/vhost/ |
H A D | Kconfig | 5 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/backends/ |
H A D | meson.build | 26 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/qemu/contrib/vhost-user-blk/ |
H A D | meson.build | 1 executable('vhost-user-blk', files('vhost-user-blk.c'),
|
/openbmc/qemu/hw/scsi/ |
H A D | meson.build | 20 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/qemu/contrib/vhost-user-scsi/ |
H A D | meson.build | 2 executable('vhost-user-scsi', files('vhost-user-scsi.c'),
|
/openbmc/linux/tools/perf/trace/beauty/ |
H A D | vhost_virtio_ioctl.sh | 8 grep -E $regex ${header_dir}/vhost.h | \ 15 grep -E $regex ${header_dir}/vhost.h | \
|
/openbmc/linux/tools/virtio/ |
H A D | Makefile | 21 vpath %.c ../../drivers/virtio ../../drivers/vhost 31 OOT_VHOST=`pwd`/../../drivers/vhost 50 .PHONY: all test mod clean vhost oot oot-clean oot-build
|