Home
last modified time | relevance | path

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

123

/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.
/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 …]
/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.rst23 vhost-user
24 vhost-user-gpu
25 vhost-vdpa
H A Dvhost-user.rst20 control the vhost implementation in the Linux kernel. It implements
66 A vhost-user message consists of 3 header fields and a payload.
345 stopped, and the vhost-user device is suspended (see
526 declare the ``VHOST_F_LOG_ALL`` vhost feature.
645 front-end, however, will re-initialize the vhost state on the
681 * The vhost memory region guest address is not used.
1086 Get the protocol feature bitmask from the underlying vhost
1419 payload to indicate an error to the vhost-user front-end. The vhost-user
1959 vhost-user-input
1976 vhost-user-gpu
[all …]
/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' } }
461 # @protocols: List of decoded vhost user protocol features of a vhost
519 # vhost_get_vring_base (if vhost active)
677 # @x-query-virtio-vhost-queue-status:
[all …]
H A Dcryptodev.json44 # @vhost-user: vhost-user
52 'data': ['builtin', 'vhost-user', 'lkcf']}
H A Dnet.json227 # @vhost: enable vhost-net network accelerator
229 # @vhostfd: file descriptor of an already opened vhost net device
231 # @vhostfds: file descriptors of multiple already opened vhost net
234 # @vhostforce: vhost on for non-MSIX virtio guests
254 '*vhost': 'bool',
506 # @vhostdev: path of vhost-vdpa device (default:'/dev/vhost-vdpa-0')
508 # @vhostfd: file descriptor of an already opened vhost vdpa device
706 # @vhost-vdpa: since 5.1
719 'vhost-vdpa',
753 'vhost-user': 'NetdevVhostUserOptions',
[all …]
/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
H A Dmulti-process.rst97 vhost user model
103 once the QEMU vhost user code has configured the vhost user application,
104 mission-mode IO is performed by the application. The vhost user
108 vhost socket
112 QEMU is to contact the vhost application and send it configuration
118 vhost MMIO store acceleration
137 vhost interrupt acceleration
148 vhost access to guest memory
155 to map the guest address space into the vhost application.
174 There are, however, some notable differences between how a vhost
[all …]
/qemu/hw/display/
H A Dvhost-user-gpu.c446 if (vhost_user_gpu_set_socket(&g->vhost->dev, sv[1]) < 0) { in vhost_user_gpu_do_set_socket()
478 ret = vhost_dev_get_config(&g->vhost->dev, in vhost_user_gpu_get_config()
506 ret = vhost_dev_set_config(&g->vhost->dev, config_data, in vhost_user_gpu_set_config()
526 vhost_user_backend_start(g->vhost); in vhost_user_gpu_set_status()
534 vhost_user_backend_stop(g->vhost); in vhost_user_gpu_set_status()
552 return vhost_virtqueue_pending(&g->vhost->dev, idx); in vhost_user_gpu_guest_notifier_pending()
569 vhost_virtqueue_mask(&g->vhost->dev, vdev, idx, mask); in vhost_user_gpu_guest_notifier_mask()
579 OBJECT(g->vhost), "chardev"); in vhost_user_gpu_instance_init()
587 object_unref(OBJECT(g->vhost)); in vhost_user_gpu_instance_finalize()
597 vhost_user_backend_stop(g->vhost); in vhost_user_gpu_reset()
[all …]
/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"
/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…
/qemu/backends/
H A Dmeson.build24 system_ss.add(when: 'CONFIG_VIRTIO', if_true: files('vhost-user.c'))
26 system_ss.add(when: 'CONFIG_VIRTIO_CRYPTO', if_true: files('cryptodev-vhost.c'))
29 system_ss.add(when: 'CONFIG_VIRTIO_CRYPTO', if_true: files('cryptodev-vhost-user.c'))
/qemu/contrib/vhost-user-blk/
H A Dmeson.build1 executable('vhost-user-blk', files('vhost-user-blk.c'),
/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'))
/qemu/contrib/vhost-user-scsi/
H A Dmeson.build2 executable('vhost-user-scsi', files('vhost-user-scsi.c'),
/qemu/subprojects/libvhost-user/
H A Dmeson.build14 vhost_user = static_library('vhost-user',
22 vhost_user_glib = static_library('vhost-user-glib',
/qemu/scripts/
H A Dmeson-buildoptions.sh515 --enable-vhost-crypto) printf "%s" -Dvhost_crypto=enabled ;;
516 --disable-vhost-crypto) printf "%s" -Dvhost_crypto=disabled ;;
517 --enable-vhost-kernel) printf "%s" -Dvhost_kernel=enabled ;;
518 --disable-vhost-kernel) printf "%s" -Dvhost_kernel=disabled ;;
519 --enable-vhost-net) printf "%s" -Dvhost_net=enabled ;;
520 --disable-vhost-net) printf "%s" -Dvhost_net=disabled ;;
521 --enable-vhost-user) printf "%s" -Dvhost_user=enabled ;;
522 --disable-vhost-user) printf "%s" -Dvhost_user=disabled ;;
523 --enable-vhost-user-blk-server) printf "%s" -Dvhost_user_blk_server=enabled ;;
525 --enable-vhost-vdpa) printf "%s" -Dvhost_vdpa=enabled ;;
[all …]
/qemu/hw/s390x/
H A Dmeson.build48 virtio_ss.add(when: 'CONFIG_VHOST_SCSI', if_true: files('vhost-scsi-ccw.c'))
49 virtio_ss.add(when: 'CONFIG_VHOST_VSOCK', if_true: files('vhost-vsock-ccw.c'))
50 virtio_ss.add(when: 'CONFIG_VHOST_USER_FS', if_true: files('vhost-user-fs-ccw.c'))

123