mirror of
https://github.com/rust-vmm/vhost-device.git
synced 2026-01-08 12:38:21 +00:00
4ee59aff4f
5 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
5357ca19e7 |
build(deps): bump the vhost-device group with 6 updates
Bumps the vhost-device group with 6 updates: | Package | From | To | | --- | --- | --- | | [clap](https://github.com/clap-rs/clap) | `4.4.14` | `4.4.16` | | [vhost-user-backend](https://github.com/rust-vmm/vhost) | `0.12.0` | `0.13.0` | | [rustix](https://github.com/bytecodealliance/rustix) | `0.38.28` | `0.38.30` | | [smallvec](https://github.com/servo/rust-smallvec) | `1.11.2` | `1.12.0` | | [termcolor](https://github.com/BurntSushi/termcolor) | `1.4.0` | `1.4.1` | | [winnow](https://github.com/winnow-rs/winnow) | `0.5.33` | `0.5.34` | Updates `clap` from 4.4.14 to 4.4.16 - [Release notes](https://github.com/clap-rs/clap/releases) - [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md) - [Commits](https://github.com/clap-rs/clap/compare/v4.4.14...v4.4.16) Updates `vhost-user-backend` from 0.12.0 to 0.13.0 - [Release notes](https://github.com/rust-vmm/vhost/releases) - [Commits](https://github.com/rust-vmm/vhost/compare/vhost-user-backend-v0.12.0...vhost-user-backend-v0.13.0) Updates `rustix` from 0.38.28 to 0.38.30 - [Release notes](https://github.com/bytecodealliance/rustix/releases) - [Commits](https://github.com/bytecodealliance/rustix/compare/v0.38.28...v0.38.30) Updates `smallvec` from 1.11.2 to 1.12.0 - [Release notes](https://github.com/servo/rust-smallvec/releases) - [Commits](https://github.com/servo/rust-smallvec/compare/v1.11.2...v1.12.0) Updates `termcolor` from 1.4.0 to 1.4.1 - [Commits](https://github.com/BurntSushi/termcolor/compare/1.4.0...1.4.1) Updates `winnow` from 0.5.33 to 0.5.34 - [Changelog](https://github.com/winnow-rs/winnow/blob/main/CHANGELOG.md) - [Commits](https://github.com/winnow-rs/winnow/compare/v0.5.33...v0.5.34) --- updated-dependencies: - dependency-name: clap dependency-type: direct:production update-type: version-update:semver-patch dependency-group: vhost-device - dependency-name: vhost-user-backend dependency-type: direct:production update-type: version-update:semver-minor dependency-group: vhost-device - dependency-name: rustix dependency-type: indirect update-type: version-update:semver-patch dependency-group: vhost-device - dependency-name: smallvec dependency-type: indirect update-type: version-update:semver-minor dependency-group: vhost-device - dependency-name: termcolor dependency-type: indirect update-type: version-update:semver-patch dependency-group: vhost-device - dependency-name: winnow dependency-type: indirect update-type: version-update:semver-patch dependency-group: vhost-device ... Signed-off-by: dependabot[bot] <support@github.com> |
||
|
|
5a2bd27037 |
build(deps): bump the vhost-device group with 16 updates
Bumps the vhost-device group with 16 updates: | Package | From | To | | --- | --- | --- | | [clap](https://github.com/clap-rs/clap) | `4.4.12` | `4.4.14` | | [libc](https://github.com/rust-lang/libc) | `0.2.151` | `0.2.152` | | [vhost](https://github.com/rust-vmm/vhost) | `0.9.0` | `0.10.0` | | [vhost-user-backend](https://github.com/rust-vmm/vhost) | `0.11.0` | `0.12.0` | | [virtio-queue](https://github.com/rust-vmm/vm-virtio) | `0.10.0` | `0.11.0` | | [vm-memory](https://github.com/rust-vmm/vm-memory) | `0.13.1` | `0.14.0` | | [vmm-sys-util](https://github.com/rust-vmm/vmm-sys-util) | `0.11.2` | `0.12.1` | | [num_enum](https://github.com/illicitonion/num_enum) | `0.7.1` | `0.7.2` | | [virtio-vsock](https://github.com/rust-vmm/vm-virtio) | `0.4.0` | `0.5.0` | | [serde](https://github.com/serde-rs/serde) | `1.0.193` | `1.0.195` | | [serde_yaml](https://github.com/dtolnay/serde-yaml) | `0.9.29` | `0.9.30` | | [getrandom](https://github.com/rust-random/getrandom) | `0.2.11` | `0.2.12` | | [proc-macro2](https://github.com/dtolnay/proc-macro2) | `1.0.74` | `1.0.76` | | [semver](https://github.com/dtolnay/semver) | `1.0.20` | `1.0.21` | | [target-lexicon](https://github.com/bytecodealliance/target-lexicon) | `0.12.12` | `0.12.13` | | [winnow](https://github.com/winnow-rs/winnow) | `0.5.31` | `0.5.33` | Updates `clap` from 4.4.12 to 4.4.14 - [Release notes](https://github.com/clap-rs/clap/releases) - [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md) - [Commits](https://github.com/clap-rs/clap/compare/v4.4.12...v4.4.14) Updates `libc` from 0.2.151 to 0.2.152 - [Release notes](https://github.com/rust-lang/libc/releases) - [Commits](https://github.com/rust-lang/libc/compare/0.2.151...0.2.152) Updates `vhost` from 0.9.0 to 0.10.0 - [Release notes](https://github.com/rust-vmm/vhost/releases) - [Commits](https://github.com/rust-vmm/vhost/compare/vhost-v0.9.0...vhost-v0.10.0) Updates `vhost-user-backend` from 0.11.0 to 0.12.0 - [Release notes](https://github.com/rust-vmm/vhost/releases) - [Commits](https://github.com/rust-vmm/vhost/compare/vhost-user-backend-v0.11.0...vhost-user-backend-v0.12.0) Updates `virtio-queue` from 0.10.0 to 0.11.0 - [Release notes](https://github.com/rust-vmm/vm-virtio/releases) - [Commits](https://github.com/rust-vmm/vm-virtio/commits) Updates `vm-memory` from 0.13.1 to 0.14.0 - [Release notes](https://github.com/rust-vmm/vm-memory/releases) - [Changelog](https://github.com/rust-vmm/vm-memory/blob/main/CHANGELOG.md) - [Commits](https://github.com/rust-vmm/vm-memory/compare/v0.13.1...v0.14.0) Updates `vmm-sys-util` from 0.11.2 to 0.12.1 - [Release notes](https://github.com/rust-vmm/vmm-sys-util/releases) - [Changelog](https://github.com/rust-vmm/vmm-sys-util/blob/main/CHANGELOG.md) - [Commits](https://github.com/rust-vmm/vmm-sys-util/commits/v0.12.1) Updates `num_enum` from 0.7.1 to 0.7.2 - [Commits](https://github.com/illicitonion/num_enum/compare/0.7.1...0.7.2) Updates `virtio-vsock` from 0.4.0 to 0.5.0 - [Release notes](https://github.com/rust-vmm/vm-virtio/releases) - [Commits](https://github.com/rust-vmm/vm-virtio/compare/virtio-queue-v0.4.0...virtio-vsock-0.5.0) Updates `serde` from 1.0.193 to 1.0.195 - [Release notes](https://github.com/serde-rs/serde/releases) - [Commits](https://github.com/serde-rs/serde/compare/v1.0.193...v1.0.195) Updates `serde_yaml` from 0.9.29 to 0.9.30 - [Release notes](https://github.com/dtolnay/serde-yaml/releases) - [Commits](https://github.com/dtolnay/serde-yaml/compare/0.9.29...0.9.30) Updates `getrandom` from 0.2.11 to 0.2.12 - [Changelog](https://github.com/rust-random/getrandom/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-random/getrandom/compare/v0.2.11...v0.2.12) Updates `proc-macro2` from 1.0.74 to 1.0.76 - [Release notes](https://github.com/dtolnay/proc-macro2/releases) - [Commits](https://github.com/dtolnay/proc-macro2/compare/1.0.74...1.0.76) Updates `semver` from 1.0.20 to 1.0.21 - [Release notes](https://github.com/dtolnay/semver/releases) - [Commits](https://github.com/dtolnay/semver/compare/1.0.20...1.0.21) Updates `target-lexicon` from 0.12.12 to 0.12.13 - [Commits](https://github.com/bytecodealliance/target-lexicon/compare/v0.12.12...v0.12.13) Updates `winnow` from 0.5.31 to 0.5.33 - [Changelog](https://github.com/winnow-rs/winnow/blob/main/CHANGELOG.md) - [Commits](https://github.com/winnow-rs/winnow/compare/v0.5.31...v0.5.33) --- updated-dependencies: - dependency-name: clap dependency-type: direct:production update-type: version-update:semver-patch dependency-group: vhost-device - dependency-name: libc dependency-type: direct:production update-type: version-update:semver-patch dependency-group: vhost-device - dependency-name: vhost dependency-type: direct:production update-type: version-update:semver-minor dependency-group: vhost-device - dependency-name: vhost-user-backend dependency-type: direct:production update-type: version-update:semver-minor dependency-group: vhost-device - dependency-name: virtio-queue dependency-type: direct:production update-type: version-update:semver-minor dependency-group: vhost-device - dependency-name: vm-memory dependency-type: direct:production update-type: version-update:semver-minor dependency-group: vhost-device - dependency-name: vmm-sys-util dependency-type: direct:production update-type: version-update:semver-minor dependency-group: vhost-device - dependency-name: num_enum dependency-type: direct:production update-type: version-update:semver-patch dependency-group: vhost-device - dependency-name: virtio-vsock dependency-type: direct:production update-type: version-update:semver-minor dependency-group: vhost-device - dependency-name: serde dependency-type: direct:production update-type: version-update:semver-patch dependency-group: vhost-device - dependency-name: serde_yaml dependency-type: direct:production update-type: version-update:semver-patch dependency-group: vhost-device - dependency-name: getrandom dependency-type: indirect update-type: version-update:semver-patch dependency-group: vhost-device - dependency-name: proc-macro2 dependency-type: indirect update-type: version-update:semver-patch dependency-group: vhost-device - dependency-name: semver dependency-type: indirect update-type: version-update:semver-patch dependency-group: vhost-device - dependency-name: target-lexicon dependency-type: indirect update-type: version-update:semver-patch dependency-group: vhost-device - dependency-name: winnow dependency-type: indirect update-type: version-update:semver-patch dependency-group: vhost-device ... Signed-off-by: dependabot[bot] <support@github.com> |
||
|
|
e9013f4735 |
build(deps): bump the vhost-device group with 11 updates
Bumps the vhost-device group with 11 updates: | Package | From | To | | --- | --- | --- | | [clap](https://github.com/clap-rs/clap) | `4.4.11` | `4.4.12` | | [thiserror](https://github.com/dtolnay/thiserror) | `1.0.50` | `1.0.56` | | [tempfile](https://github.com/Stebalien/tempfile) | `3.8.1` | `3.9.0` | | [nix](https://github.com/nix-rust/nix) | `0.26.4` | `0.27.1` | | [async-trait](https://github.com/dtolnay/async-trait) | `0.1.74` | `0.1.77` | | [clang-sys](https://github.com/KyleMayes/clang-sys) | `1.6.1` | `1.7.0` | | [home](https://github.com/rust-lang/cargo) | `0.5.5` | `0.5.9` | | [is-terminal](https://github.com/sunfishcode/is-terminal) | `0.4.9` | `0.4.10` | | [memchr](https://github.com/BurntSushi/memchr) | `2.6.4` | `2.7.1` | | [pkg-config](https://github.com/rust-lang/pkg-config-rs) | `0.3.27` | `0.3.28` | | [winnow](https://github.com/winnow-rs/winnow) | `0.5.26` | `0.5.31` | Updates `clap` from 4.4.11 to 4.4.12 - [Release notes](https://github.com/clap-rs/clap/releases) - [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md) - [Commits](https://github.com/clap-rs/clap/compare/v4.4.11...v4.4.12) Updates `thiserror` from 1.0.50 to 1.0.56 - [Release notes](https://github.com/dtolnay/thiserror/releases) - [Commits](https://github.com/dtolnay/thiserror/compare/1.0.50...1.0.56) Updates `tempfile` from 3.8.1 to 3.9.0 - [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md) - [Commits](https://github.com/Stebalien/tempfile/compare/v3.8.1...v3.9.0) Updates `nix` from 0.26.4 to 0.27.1 - [Changelog](https://github.com/nix-rust/nix/blob/master/CHANGELOG.md) - [Commits](https://github.com/nix-rust/nix/compare/v0.26.4...v0.27.1) Updates `async-trait` from 0.1.74 to 0.1.77 - [Release notes](https://github.com/dtolnay/async-trait/releases) - [Commits](https://github.com/dtolnay/async-trait/commits) Updates `clang-sys` from 1.6.1 to 1.7.0 - [Release notes](https://github.com/KyleMayes/clang-sys/releases) - [Changelog](https://github.com/KyleMayes/clang-sys/blob/master/CHANGELOG.md) - [Commits](https://github.com/KyleMayes/clang-sys/compare/v1.6.1...v1.7.0) Updates `home` from 0.5.5 to 0.5.9 - [Changelog](https://github.com/rust-lang/cargo/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-lang/cargo/commits) Updates `is-terminal` from 0.4.9 to 0.4.10 - [Commits](https://github.com/sunfishcode/is-terminal/compare/v0.4.9...v0.4.10) Updates `memchr` from 2.6.4 to 2.7.1 - [Commits](https://github.com/BurntSushi/memchr/compare/2.6.4...2.7.1) Updates `pkg-config` from 0.3.27 to 0.3.28 - [Changelog](https://github.com/rust-lang/pkg-config-rs/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-lang/pkg-config-rs/compare/0.3.27...0.3.28) Updates `winnow` from 0.5.26 to 0.5.31 - [Changelog](https://github.com/winnow-rs/winnow/blob/main/CHANGELOG.md) - [Commits](https://github.com/winnow-rs/winnow/compare/v0.5.26...v0.5.31) --- updated-dependencies: - dependency-name: clap dependency-type: direct:production update-type: version-update:semver-patch dependency-group: vhost-device - dependency-name: thiserror dependency-type: direct:production update-type: version-update:semver-patch dependency-group: vhost-device - dependency-name: tempfile dependency-type: direct:production update-type: version-update:semver-minor dependency-group: vhost-device - dependency-name: nix dependency-type: direct:production update-type: version-update:semver-minor dependency-group: vhost-device - dependency-name: async-trait dependency-type: indirect update-type: version-update:semver-patch dependency-group: vhost-device - dependency-name: clang-sys dependency-type: indirect update-type: version-update:semver-minor dependency-group: vhost-device - dependency-name: home dependency-type: indirect update-type: version-update:semver-patch dependency-group: vhost-device - dependency-name: is-terminal dependency-type: indirect update-type: version-update:semver-patch dependency-group: vhost-device - dependency-name: memchr dependency-type: indirect update-type: version-update:semver-minor dependency-group: vhost-device - dependency-name: pkg-config dependency-type: indirect update-type: version-update:semver-patch dependency-group: vhost-device - dependency-name: winnow dependency-type: indirect update-type: version-update:semver-patch dependency-group: vhost-device ... Signed-off-by: dependabot[bot] <support@github.com> [sgarzare] vhost-device-input: enabled `ioctl` feature of `nix` crate to fix a build issue since it is now needed to use ioctl's macro like `ioctl_read_buf`, etc. Signed-off-by: Stefano Garzarella <sgarzare@redhat.com> |
||
|
|
740ad221ec |
input: Add test cases
This patch adds test cases for verification vhost input backend. Signed-off-by: Leo Yan <leo.yan@linaro.org> |
||
|
|
01e57d07c6 |
input: Initial support for input emulation
This patch is to add support for vhost input device emulation. The code skeleton heavily reuses vhost-device-i2c and vhost-device-rng, including sharing the same license, and how to create the multi-thread mode and daemon for backend virtual device. It gives detailed usage for enabling virtual input device for guest in the README.md. Signed-off-by: Leo Yan <leo.yan@linaro.org> |