VHOST-DEVICE-SCMI(1)

πŸ“¦ version 0.4.0, in fedora 43, fedora 44

πŸ’– 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 is ID,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 to debug for 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 🌈

qemu(1)

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