vhost-device/vhost-device-template
Manos Pitsidianakis ea750d7daf template: use PathBuf for socket path
clap can parse a PathBuf directly from the command line arguments, and
paths are not always UTF-8. Use PathBuf instead of a String to allow for
all valid paths.

Signed-off-by: Manos Pitsidianakis <manos.pitsidianakis@linaro.org>
2023-12-04 22:12:09 +05:30
..
src template: use PathBuf for socket path 2023-12-04 22:12:09 +05:30
Cargo.toml Add vhost-device-template crate 2023-12-01 15:40:19 +05:30
CHANGELOG.md Add vhost-device-template crate 2023-12-01 15:40:19 +05:30
LICENSE-APACHE Add vhost-device-template crate 2023-12-01 15:40:19 +05:30
LICENSE-BSD-3-Clause Add vhost-device-template crate 2023-12-01 15:40:19 +05:30
README.md Add vhost-device-template crate 2023-12-01 15:40:19 +05:30

vhost-device-template - Template for a vhost-device backend implementation

Description

This program is a template for developers who intend to write a new vhost-device backend.

Synopsis

vhost-device-template [OPTIONS]

Options

.. program:: vhost-device-template

.. option:: -h, --help

Print help.

.. option:: -s, --socket-path=PATH

Location of vhost-user Unix domain socket. This supports a single socket / guest.

Examples

The daemon should be started first:

::

host# vhost-device-template --socket-path=vfoo.sock

License

This project is licensed under either of