VHOST-DEVICE-SCMI(1)
π VHOST-DEVICE-SCMI π
okay bestie, gather round, because we're talking about vhost-device-scmi β the rust-vmm/vhost-device girlies made her and she is serving. this is the manual page, section 1 of the manual, and she's a whole vibe. let's get into it π
β¨ NAME β¨
vhost-device-scmi β a vhost-user backend for a VirtIO SCMI device. that's the whole thing. short, sweet, iconic π
πΈ SYNOPSIS πΈ
vhost-device-scmi -s|--socket-path path [-d|--device spec]
vhost-device-scmi [-h|--help]
so basically: give her a socket path (mandatory, no cap), optionally feed her some devices, or just ask for help. that's the whole menu, bestie π«Ά
π¦ DESCRIPTION π¦
okay so. this program is a vhost-user backend for a VirtIO SCMI device. what does that mean in girl terms? it provides SCMI access to various entities on the host β and not necessarily only those that are out here providing an SCMI interface themselves. so she's out here being the connector, the social butterfly, the one who knows a guy π₯
she's been tested with QEMU's -device vhost-user-scmi-pci, but honestly she should work with any virtual machine monitor (VMM) that supports vhost-user. she's not picky, she's versatile π see the EXAMPLES section below for the receipts.
π Options π
-h,--helpβ prints help. that's it. that's the girl. when u need answers she's there π-s,--socket-path=PATHβ where the vhost-user Unix domain sockets live. this is the location, the address, the where. PATH goes here bestie π-d,--device=SPECβ the SCMI device specification, and the format isID,PROPERTY=VALUE,.... for example:-d iio,path=/sys/bus/iio/devices/iio:device0,channel=in_accel. u can use this multiple times for multiple exposed devices, she can handle more than one, she's got range π and listen: if no device is specified then no device will be provided to the guest OS β BUT VirtIO SCMI will still be available there. so she shows up even with nothing to show. main character energy fr fr β¨--help-devicesβ lists help on ALL the available devices. the full roster. the whole friend group π
π₯ EXAMPLES π₯
the daemon should be started first, obviously, she goes first:
host# vhost-device-scmi --socket-path=scmi.sock --device fake,name=foo
then the QEMU invocation needs to create a chardev socket that the device can use to communicate, as well as share the guest's memory over a memfd. look at her go:
host# qemu-system \
-chardev socket,path=scmi.sock,id=scmi \
-device vhost-user-scmi-pci,chardev=vscmi,id=scmi \
-machine YOUR-MACHINE-OPTIONS,memory-backend=mem \
-m 4096 \
-object memory-backend-file,id=mem,size=4G,mem-path=/dev/shm,share=on \
...
see? iconic. no notes. β
π ENVIRONMENT π
RUST_LOGβ the logging level. set it todebugfor maximum output. MAXIMUM. she will tell u everything. not me turning the volume all the way up π
π BUGS π
see GitHub Issues: <https://github.com/rust-vmm/vhost-device/issues>
if something's wrong, it's not her fault, it's a known issue, and it's documented. periodt π
π AUTHOR π
Milan Zamazal <mzamazal@redhat.com>
the queen who made this possible. we stan πΈ
π SEE ALSO π
her bestie. her ride or die. go read that one too π«Ά
okay that's the whole page bestie, u made it to the end, so proud of u π this was Version 0.1.0 of the VHOST-DEVICE-SCMI(1) manual page from rust-vmm/vhost-device β go slay, go run her, and remember: socket path mandatory, devices optional, vibe immaculate β¨ππ¦
π¦ where this page comes from
- fedora 43: vhost-device-scmi 0.4.0-1.fc43 Β· (Apache-2.0 OR BSD-3-Clause) AND ((MIT OR Apache-2.0) AND Unicode-DFS-2016) AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND Apache-2.0 AND BSD-3-Clause AND MIT AND (Unlicense OR MIT)
- fedora 44: vhost-device-scmi 0.4.0-3.fc44 Β· (Apache-2.0 OR BSD-3-Clause) AND ((MIT OR Apache-2.0) AND Unicode-DFS-2016) AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND Apache-2.0 AND BSD-3-Clause AND MIT AND (Unlicense OR MIT)
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms