mirror of
https://github.com/rust-vmm/vhost-device.git
synced 2026-01-25 01:11:13 +00:00
d43fd79bb7
36 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
d43fd79bb7 |
clippy: Fix clippy::precedence
Fix `clippy::precedence` warnings reported by clippy 0.1.85 (4d91de4e48
2025-02-17).
```console
error: operator precedence can trip the unwary
--> vhost-device-template/src/vhu_foo.rs:152:9
|
152 | / 1 << VIRTIO_F_VERSION_1
153 | | | 1 << VIRTIO_F_NOTIFY_ON_EMPTY
154 | | | 1 << VIRTIO_RING_F_INDIRECT_DESC
155 | | | 1 << VIRTIO_RING_F_EVENT_IDX
| |__________________________________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#precedence
= note: `-D clippy::precedence` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::precedence)]`
help: consider parenthesizing your expression
|
152 ~ 1 << VIRTIO_F_VERSION_1
153 + | 1 << VIRTIO_F_NOTIFY_ON_EMPTY
154 + | 1 << VIRTIO_RING_F_INDIRECT_DESC | (1 << VIRTIO_RING_F_EVENT_IDX)
|
```
Signed-off-by: Ruoqing He <heruoqing@iscas.ac.cn>
|
||
|
|
53ded3f04d |
scmi: sensor axis extended attributes support
For Android requirment, virtio-scmi axis descriptor should support extended attributes. This patch does this things. We get axis's resolution during reading "scale" and store. When agent wants to get axis descriptions, device will add resolution value to extend attribute field. At the same time, max and min range also have been configured. Signed-off-by: Junnan Wu <junnan01.wu@samsung.com> |
||
|
|
d19a265bed |
scmi: report axis descriptor one by one
In order to support extended attributes, in flow of handle command SENSOR_AXIS_DESCRIPTION_GET, it should report frontend the axis info one by one instead of together, for reason that it will exceed the size of descriptor buffer size. And this patch also fixs the wrong value number of remaining sensor axis descriptors. The remaining value should excludes reported axis. Signed-off-by: Junnan Wu <junnan01.wu@samsung.com> |
||
|
|
a8148376b7 |
build(deps): bump the non-rust-vmm group across 2 directories with 30 updates
Bumps the non-rust-vmm group with 20 updates in the / directory: | Package | From | To | | --- | --- | --- | | [clap](https://github.com/clap-rs/clap) | `4.5.21` | `4.5.23` | | [env_logger](https://github.com/rust-cli/env_logger) | `0.11.5` | `0.11.6` | | [thiserror](https://github.com/dtolnay/thiserror) | `2.0.3` | `2.0.9` | | [socketcan](https://github.com/mbr/socketcan-rs) | `3.3.1` | `3.5.0` | | [console](https://github.com/console-rs/console) | `0.15.8` | `0.15.10` | | [libc](https://github.com/rust-lang/libc) | `0.2.167` | `0.2.169` | | [itertools](https://github.com/rust-itertools/itertools) | `0.13.0` | `0.14.0` | | [serde](https://github.com/serde-rs/serde) | `1.0.215` | `1.0.217` | | [anyhow](https://github.com/dtolnay/anyhow) | `1.0.93` | `1.0.95` | | [bytemuck](https://github.com/Lokathor/bytemuck) | `1.20.0` | `1.21.0` | | [cc](https://github.com/rust-lang/cc-rs) | `1.2.2` | `1.2.6` | | [env_filter](https://github.com/rust-cli/env_logger) | `0.1.2` | `0.1.3` | | [fastrand](https://github.com/smol-rs/fastrand) | `2.2.0` | `2.3.0` | | [glob](https://github.com/rust-lang/glob) | `0.3.1` | `0.3.2` | | [home](https://github.com/rust-lang/cargo) | `0.5.9` | `0.5.11` | | [quote](https://github.com/dtolnay/quote) | `1.0.37` | `1.0.38` | | redox_syscall | `0.5.7` | `0.5.8` | | [rustix](https://github.com/bytecodealliance/rustix) | `0.38.41` | `0.38.42` | | [semver](https://github.com/dtolnay/semver) | `1.0.23` | `1.0.24` | | [winnow](https://github.com/winnow-rs/winnow) | `0.6.20` | `0.6.21` | Bumps the non-rust-vmm group with 16 updates in the /staging directory: | Package | From | To | | --- | --- | --- | | [clap](https://github.com/clap-rs/clap) | `4.5.21` | `4.5.23` | | [env_logger](https://github.com/rust-cli/env_logger) | `0.11.5` | `0.11.6` | | [thiserror](https://github.com/dtolnay/thiserror) | `2.0.3` | `2.0.9` | | [libc](https://github.com/rust-lang/libc) | `0.2.167` | `0.2.169` | | [anyhow](https://github.com/dtolnay/anyhow) | `1.0.93` | `1.0.95` | | [env_filter](https://github.com/rust-cli/env_logger) | `0.1.2` | `0.1.3` | | [fastrand](https://github.com/smol-rs/fastrand) | `2.2.0` | `2.3.0` | | [glob](https://github.com/rust-lang/glob) | `0.3.1` | `0.3.2` | | [quote](https://github.com/dtolnay/quote) | `1.0.37` | `1.0.38` | | [rustix](https://github.com/bytecodealliance/rustix) | `0.38.41` | `0.38.42` | | [semver](https://github.com/dtolnay/semver) | `1.0.23` | `1.0.24` | | [syn](https://github.com/dtolnay/syn) | `2.0.90` | `2.0.93` | | [winnow](https://github.com/winnow-rs/winnow) | `0.6.20` | `0.6.21` | | [predicates](https://github.com/assert-rs/predicates-rs) | `3.1.2` | `3.1.3` | | [predicates-core](https://github.com/assert-rs/predicates-rs) | `1.0.8` | `1.0.9` | | [predicates-tree](https://github.com/assert-rs/predicates-rs) | `1.0.11` | `1.0.12` | Updates `clap` from 4.5.21 to 4.5.23 - [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/clap_complete-v4.5.21...clap_complete-v4.5.23) Updates `env_logger` from 0.11.5 to 0.11.6 - [Release notes](https://github.com/rust-cli/env_logger/releases) - [Changelog](https://github.com/rust-cli/env_logger/blob/main/CHANGELOG.md) - [Commits](https://github.com/rust-cli/env_logger/compare/v0.11.5...v0.11.6) Updates `thiserror` from 2.0.3 to 2.0.9 - [Release notes](https://github.com/dtolnay/thiserror/releases) - [Commits](https://github.com/dtolnay/thiserror/compare/2.0.3...2.0.9) Updates `socketcan` from 3.3.1 to 3.5.0 - [Release notes](https://github.com/mbr/socketcan-rs/releases) - [Changelog](https://github.com/socketcan-rs/socketcan-rs/blob/master/CHANGELOG.md) - [Commits](https://github.com/mbr/socketcan-rs/compare/v3.3.1...v3.5.0) Updates `console` from 0.15.8 to 0.15.10 - [Release notes](https://github.com/console-rs/console/releases) - [Changelog](https://github.com/console-rs/console/blob/main/CHANGELOG.md) - [Commits](https://github.com/console-rs/console/compare/0.15.8...0.15.10) Updates `libc` from 0.2.167 to 0.2.169 - [Release notes](https://github.com/rust-lang/libc/releases) - [Changelog](https://github.com/rust-lang/libc/blob/0.2.169/CHANGELOG.md) - [Commits](https://github.com/rust-lang/libc/compare/0.2.167...0.2.169) Updates `itertools` from 0.13.0 to 0.14.0 - [Changelog](https://github.com/rust-itertools/itertools/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-itertools/itertools/compare/v0.13.0...v0.14.0) Updates `serde` from 1.0.215 to 1.0.217 - [Release notes](https://github.com/serde-rs/serde/releases) - [Commits](https://github.com/serde-rs/serde/compare/v1.0.215...v1.0.217) Updates `anyhow` from 1.0.93 to 1.0.95 - [Release notes](https://github.com/dtolnay/anyhow/releases) - [Commits](https://github.com/dtolnay/anyhow/compare/1.0.93...1.0.95) Updates `bytemuck` from 1.20.0 to 1.21.0 - [Changelog](https://github.com/Lokathor/bytemuck/blob/main/changelog.md) - [Commits](https://github.com/Lokathor/bytemuck/compare/v1.20.0...v1.21.0) Updates `cc` from 1.2.2 to 1.2.6 - [Release notes](https://github.com/rust-lang/cc-rs/releases) - [Changelog](https://github.com/rust-lang/cc-rs/blob/main/CHANGELOG.md) - [Commits](https://github.com/rust-lang/cc-rs/compare/cc-v1.2.2...cc-v1.2.6) Updates `clap_builder` from 4.5.21 to 4.5.23 - [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.5.21...v4.5.23) Updates `clap_lex` from 0.7.3 to 0.7.4 - [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/clap_lex-v0.7.3...clap_lex-v0.7.4) Updates `encode_unicode` from 0.3.6 to 1.0.0 - [Changelog](https://github.com/tormol/encode_unicode/blob/master/RELEASES.md) - [Commits](https://github.com/tormol/encode_unicode/compare/v0.3.6...v1.0.0) Updates `env_filter` from 0.1.2 to 0.1.3 - [Release notes](https://github.com/rust-cli/env_logger/releases) - [Changelog](https://github.com/rust-cli/env_logger/blob/main/CHANGELOG.md) - [Commits](https://github.com/rust-cli/env_logger/compare/env_filter-v0.1.2...env_filter-v0.1.3) Updates `fastrand` from 2.2.0 to 2.3.0 - [Release notes](https://github.com/smol-rs/fastrand/releases) - [Changelog](https://github.com/smol-rs/fastrand/blob/master/CHANGELOG.md) - [Commits](https://github.com/smol-rs/fastrand/compare/v2.2.0...v2.3.0) Updates `glob` from 0.3.1 to 0.3.2 - [Release notes](https://github.com/rust-lang/glob/releases) - [Changelog](https://github.com/rust-lang/glob/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-lang/glob/compare/0.3.1...v0.3.2) Updates `home` from 0.5.9 to 0.5.11 - [Changelog](https://github.com/rust-lang/cargo/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-lang/cargo/compare/home-0.5.9...home-0.5.11) Updates `quote` from 1.0.37 to 1.0.38 - [Release notes](https://github.com/dtolnay/quote/releases) - [Commits](https://github.com/dtolnay/quote/compare/1.0.37...1.0.38) Updates `redox_syscall` from 0.5.7 to 0.5.8 Updates `rustix` from 0.38.41 to 0.38.42 - [Release notes](https://github.com/bytecodealliance/rustix/releases) - [Changelog](https://github.com/bytecodealliance/rustix/blob/main/CHANGELOG.md) - [Commits](https://github.com/bytecodealliance/rustix/compare/v0.38.41...v0.38.42) Updates `semver` from 1.0.23 to 1.0.24 - [Release notes](https://github.com/dtolnay/semver/releases) - [Commits](https://github.com/dtolnay/semver/compare/1.0.23...1.0.24) Updates `serde_derive` from 1.0.215 to 1.0.217 - [Release notes](https://github.com/serde-rs/serde/releases) - [Commits](https://github.com/serde-rs/serde/compare/v1.0.215...v1.0.217) Updates `winnow` from 0.6.20 to 0.6.21 - [Changelog](https://github.com/winnow-rs/winnow/blob/main/CHANGELOG.md) - [Commits](https://github.com/winnow-rs/winnow/compare/v0.6.20...v0.6.21) Updates `clap` from 4.5.21 to 4.5.23 - [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/clap_complete-v4.5.21...clap_complete-v4.5.23) Updates `env_logger` from 0.11.5 to 0.11.6 - [Release notes](https://github.com/rust-cli/env_logger/releases) - [Changelog](https://github.com/rust-cli/env_logger/blob/main/CHANGELOG.md) - [Commits](https://github.com/rust-cli/env_logger/compare/v0.11.5...v0.11.6) Updates `thiserror` from 2.0.3 to 2.0.9 - [Release notes](https://github.com/dtolnay/thiserror/releases) - [Commits](https://github.com/dtolnay/thiserror/compare/2.0.3...2.0.9) Updates `libc` from 0.2.167 to 0.2.169 - [Release notes](https://github.com/rust-lang/libc/releases) - [Changelog](https://github.com/rust-lang/libc/blob/0.2.169/CHANGELOG.md) - [Commits](https://github.com/rust-lang/libc/compare/0.2.167...0.2.169) Updates `anyhow` from 1.0.93 to 1.0.95 - [Release notes](https://github.com/dtolnay/anyhow/releases) - [Commits](https://github.com/dtolnay/anyhow/compare/1.0.93...1.0.95) Updates `clap_builder` from 4.5.21 to 4.5.23 - [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.5.21...v4.5.23) Updates `clap_lex` from 0.7.3 to 0.7.4 - [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/clap_lex-v0.7.3...clap_lex-v0.7.4) Updates `env_filter` from 0.1.2 to 0.1.3 - [Release notes](https://github.com/rust-cli/env_logger/releases) - [Changelog](https://github.com/rust-cli/env_logger/blob/main/CHANGELOG.md) - [Commits](https://github.com/rust-cli/env_logger/compare/env_filter-v0.1.2...env_filter-v0.1.3) Updates `fastrand` from 2.2.0 to 2.3.0 - [Release notes](https://github.com/smol-rs/fastrand/releases) - [Changelog](https://github.com/smol-rs/fastrand/blob/master/CHANGELOG.md) - [Commits](https://github.com/smol-rs/fastrand/compare/v2.2.0...v2.3.0) Updates `glob` from 0.3.1 to 0.3.2 - [Release notes](https://github.com/rust-lang/glob/releases) - [Changelog](https://github.com/rust-lang/glob/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-lang/glob/compare/0.3.1...v0.3.2) Updates `quote` from 1.0.37 to 1.0.38 - [Release notes](https://github.com/dtolnay/quote/releases) - [Commits](https://github.com/dtolnay/quote/compare/1.0.37...1.0.38) Updates `rustix` from 0.38.41 to 0.38.42 - [Release notes](https://github.com/bytecodealliance/rustix/releases) - [Changelog](https://github.com/bytecodealliance/rustix/blob/main/CHANGELOG.md) - [Commits](https://github.com/bytecodealliance/rustix/compare/v0.38.41...v0.38.42) Updates `semver` from 1.0.23 to 1.0.24 - [Release notes](https://github.com/dtolnay/semver/releases) - [Commits](https://github.com/dtolnay/semver/compare/1.0.23...1.0.24) Updates `syn` from 2.0.90 to 2.0.93 - [Release notes](https://github.com/dtolnay/syn/releases) - [Commits](https://github.com/dtolnay/syn/compare/2.0.90...2.0.93) Updates `windows-sys` from 0.52.0 to 0.59.0 - [Release notes](https://github.com/microsoft/windows-rs/releases) - [Commits](https://github.com/microsoft/windows-rs/compare/0.52.0...0.59.0) Updates `winnow` from 0.6.20 to 0.6.21 - [Changelog](https://github.com/winnow-rs/winnow/blob/main/CHANGELOG.md) - [Commits](https://github.com/winnow-rs/winnow/compare/v0.6.20...v0.6.21) Updates `predicates` from 3.1.2 to 3.1.3 - [Changelog](https://github.com/assert-rs/predicates-rs/blob/master/CHANGELOG.md) - [Commits](https://github.com/assert-rs/predicates-rs/compare/v3.1.2...v3.1.3) Updates `predicates-core` from 1.0.8 to 1.0.9 - [Changelog](https://github.com/assert-rs/predicates-rs/blob/master/CHANGELOG.md) - [Commits](https://github.com/assert-rs/predicates-rs/compare/predicates-core-v1.0.8...predicates-core-v1.0.9) Updates `predicates-tree` from 1.0.11 to 1.0.12 - [Changelog](https://github.com/assert-rs/predicates-rs/blob/master/CHANGELOG.md) - [Commits](https://github.com/assert-rs/predicates-rs/compare/predicates-tree-v1.0.11...predicates-tree-v1.0.12) Updates `termtree` from 0.4.1 to 0.5.1 - [Changelog](https://github.com/rust-cli/termtree/blob/main/CHANGELOG.md) - [Commits](https://github.com/rust-cli/termtree/compare/v0.4.1...v0.5.1) --- updated-dependencies: - dependency-name: clap dependency-type: direct:production update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: env_logger dependency-type: direct:production update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: thiserror dependency-type: direct:production update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: socketcan dependency-type: direct:production update-type: version-update:semver-minor dependency-group: non-rust-vmm - dependency-name: console dependency-type: direct:production update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: libc dependency-type: direct:production update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: itertools dependency-type: direct:production update-type: version-update:semver-minor dependency-group: non-rust-vmm - dependency-name: serde dependency-type: direct:production update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: anyhow dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: bytemuck dependency-type: indirect update-type: version-update:semver-minor dependency-group: non-rust-vmm - dependency-name: cc dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: clap_builder dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: clap_lex dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: encode_unicode dependency-type: indirect update-type: version-update:semver-major dependency-group: non-rust-vmm - dependency-name: env_filter dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: fastrand dependency-type: indirect update-type: version-update:semver-minor dependency-group: non-rust-vmm - dependency-name: glob dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: home dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: quote dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: redox_syscall dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: rustix dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: semver dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: serde_derive dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: winnow dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: clap dependency-type: direct:production update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: env_logger dependency-type: direct:production update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: thiserror dependency-type: direct:production update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: libc dependency-type: direct:production update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: anyhow dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: clap_builder dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: clap_lex dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: env_filter dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: fastrand dependency-type: indirect update-type: version-update:semver-minor dependency-group: non-rust-vmm - dependency-name: glob dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: quote dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: rustix dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: semver dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: syn dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: windows-sys dependency-type: indirect update-type: version-update:semver-minor dependency-group: non-rust-vmm - dependency-name: winnow dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: predicates dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: predicates-core dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: predicates-tree dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: termtree dependency-type: indirect update-type: version-update:semver-minor dependency-group: non-rust-vmm ... Signed-off-by: dependabot[bot] <support@github.com> |
||
|
|
937d28daee |
scmi: add missing lifetime
rustc 1.83.0 (90b35a623 2024-11-26) emits 2 new warnings:
warning: elided lifetime has a name
--> vhost-device-scmi/src/devices/common.rs:69:60
|
69 | fn extra<'a>(&'a self, allowed: &[&'a str]) -> HashSet<&str> {
| -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a`
|
= note: `#[warn(elided_named_lifetimes)]` on by default
warning: elided lifetime has a name
--> vhost-device-scmi/src/devices/common.rs:74:63
|
74 | fn missing<'a>(&'a self, required: &[&'a str]) -> HashSet<&str> {
| -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a`
warning: `vhost-device-scmi` (bin "vhost-device-scmi") generated 2 warnings
Fixes: #786
Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
|
||
|
|
b96475f788 |
scmi: fix manual arithmetic check warning
clippy 0.1.83 (90b35a6 2024-11-26) emits a new warning:
warning: manual arithmetic check found
--> vhost-device-scmi/src/scmi.rs:471:41
|
471 | let remaining_sensors = if n_sensors > last_non_returned_se...
| _________________________________________^
472 | | n_sensors - last_non_returned_sensor
473 | | } else {
474 | | 0
475 | | };
| |_________________^ help: replace it with: `n_sensors.saturating_sub(last_non_returned_sensor)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#implicit_saturating_sub
Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
|
||
|
|
09c98cb5fe |
build(deps): bump the rust-vmm group across 1 directory with 4 updates
Bumps the rust-vmm group with 4 updates in the / directory: [vhost](https://github.com/rust-vmm/vhost), [vhost-user-backend](https://github.com/rust-vmm/vhost), [virtio-queue](https://github.com/rust-vmm/vm-virtio) and [vm-memory](https://github.com/rust-vmm/vm-memory). Updates `vhost` from 0.11.0 to 0.13.0 - [Release notes](https://github.com/rust-vmm/vhost/releases) - [Commits](https://github.com/rust-vmm/vhost/compare/vhost-v0.11.0...vhost-v0.13.0) Updates `vhost-user-backend` from 0.15.0 to 0.17.0 - [Release notes](https://github.com/rust-vmm/vhost/releases) - [Commits](https://github.com/rust-vmm/vhost/compare/vhost-user-backend-v0.15.0...vhost-user-backend-v0.17.0) Updates `virtio-queue` from 0.12.0 to 0.14.0 - [Release notes](https://github.com/rust-vmm/vm-virtio/releases) - [Commits](https://github.com/rust-vmm/vm-virtio/compare/virtio-queue-v0.12.0...virtio-queue-v0.14.0) Updates `vm-memory` from 0.14.1 to 0.16.1 - [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.14.1...v0.16.1) --- updated-dependencies: - dependency-name: vhost dependency-type: direct:production update-type: version-update:semver-minor dependency-group: rust-vmm - dependency-name: vhost-user-backend dependency-type: direct:production update-type: version-update:semver-minor dependency-group: rust-vmm - dependency-name: virtio-queue dependency-type: direct:production update-type: version-update:semver-minor dependency-group: rust-vmm - dependency-name: vm-memory dependency-type: direct:production update-type: version-update:semver-minor dependency-group: rust-vmm ... Signed-off-by: dependabot[bot] <support@github.com> |
||
|
|
c31cbfe8e6 |
build(deps): bump the vhost-device group with 9 updates
Bumps the vhost-device group with 9 updates: | Package | From | To | | --- | --- | --- | | [thiserror](https://github.com/dtolnay/thiserror) | `1.0.68` | `2.0.3` | | [libc](https://github.com/rust-lang/libc) | `0.2.161` | `0.2.162` | | [tempfile](https://github.com/Stebalien/tempfile) | `3.13.0` | `3.14.0` | | [rstest](https://github.com/la10736/rstest) | `0.19.0` | `0.23.0` | | [cc](https://github.com/rust-lang/cc-rs) | `1.1.36` | `1.1.37` | | [fastrand](https://github.com/smol-rs/fastrand) | `2.1.1` | `2.2.0` | | [rstest_macros](https://github.com/la10736/rstest) | `0.19.0` | `0.23.0` | | [rustix](https://github.com/bytecodealliance/rustix) | `0.38.39` | `0.38.40` | | [thiserror-impl](https://github.com/dtolnay/thiserror) | `1.0.68` | `1.0.69` | Updates `thiserror` from 1.0.68 to 2.0.3 - [Release notes](https://github.com/dtolnay/thiserror/releases) - [Commits](https://github.com/dtolnay/thiserror/compare/1.0.68...2.0.3) Updates `libc` from 0.2.161 to 0.2.162 - [Release notes](https://github.com/rust-lang/libc/releases) - [Changelog](https://github.com/rust-lang/libc/blob/0.2.162/CHANGELOG.md) - [Commits](https://github.com/rust-lang/libc/compare/0.2.161...0.2.162) Updates `tempfile` from 3.13.0 to 3.14.0 - [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md) - [Commits](https://github.com/Stebalien/tempfile/compare/v3.13.0...v3.14.0) Updates `rstest` from 0.19.0 to 0.23.0 - [Release notes](https://github.com/la10736/rstest/releases) - [Changelog](https://github.com/la10736/rstest/blob/master/CHANGELOG.md) - [Commits](https://github.com/la10736/rstest/compare/v0.19.0...v0.23.0) Updates `cc` from 1.1.36 to 1.1.37 - [Release notes](https://github.com/rust-lang/cc-rs/releases) - [Changelog](https://github.com/rust-lang/cc-rs/blob/main/CHANGELOG.md) - [Commits](https://github.com/rust-lang/cc-rs/compare/cc-v1.1.36...cc-v1.1.37) Updates `fastrand` from 2.1.1 to 2.2.0 - [Release notes](https://github.com/smol-rs/fastrand/releases) - [Changelog](https://github.com/smol-rs/fastrand/blob/master/CHANGELOG.md) - [Commits](https://github.com/smol-rs/fastrand/compare/v2.1.1...v2.2.0) Updates `rstest_macros` from 0.19.0 to 0.23.0 - [Release notes](https://github.com/la10736/rstest/releases) - [Changelog](https://github.com/la10736/rstest/blob/master/CHANGELOG.md) - [Commits](https://github.com/la10736/rstest/compare/v0.19.0...v0.23.0) Updates `rustix` from 0.38.39 to 0.38.40 - [Release notes](https://github.com/bytecodealliance/rustix/releases) - [Changelog](https://github.com/bytecodealliance/rustix/blob/main/CHANGELOG.md) - [Commits](https://github.com/bytecodealliance/rustix/compare/v0.38.39...v0.38.40) Updates `thiserror-impl` from 1.0.68 to 1.0.69 - [Release notes](https://github.com/dtolnay/thiserror/releases) - [Commits](https://github.com/dtolnay/thiserror/compare/1.0.68...1.0.69) --- updated-dependencies: - dependency-name: thiserror dependency-type: direct:production update-type: version-update:semver-major dependency-group: vhost-device - dependency-name: libc 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: rstest dependency-type: direct:production update-type: version-update:semver-minor dependency-group: vhost-device - dependency-name: cc dependency-type: indirect update-type: version-update:semver-patch dependency-group: vhost-device - dependency-name: fastrand dependency-type: indirect update-type: version-update:semver-minor dependency-group: vhost-device - dependency-name: rstest_macros dependency-type: indirect 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: thiserror-impl dependency-type: indirect update-type: version-update:semver-patch dependency-group: vhost-device ... Signed-off-by: dependabot[bot] <support@github.com> |
||
|
|
ef97c95895 |
build(deps): bump the vhost-device group across 1 directory with 28 updates
Bumps the vhost-device group with 22 updates in the / directory: | Package | From | To | | --- | --- | --- | | [clap](https://github.com/clap-rs/clap) | `4.5.19` | `4.5.20` | | [libc](https://github.com/rust-lang/libc) | `0.2.159` | `0.2.161` | | [thiserror](https://github.com/dtolnay/thiserror) | `1.0.64` | `1.0.67` | | [vhost](https://github.com/rust-vmm/vhost) | `0.12.0` | `0.13.0` | | [vhost-user-backend](https://github.com/rust-vmm/vhost) | `0.16.0` | `0.17.0` | | [virtio-queue](https://github.com/rust-vmm/vm-virtio) | `0.13.0` | `0.14.0` | | [vm-memory](https://github.com/rust-vmm/vm-memory) | `0.15.0` | `0.16.0` | | [virtio-vsock](https://github.com/rust-vmm/vm-virtio) | `0.7.0` | `0.8.0` | | [serde](https://github.com/serde-rs/serde) | `1.0.210` | `1.0.214` | | [anstream](https://github.com/rust-cli/anstyle) | `0.6.15` | `0.6.17` | | [anstyle](https://github.com/rust-cli/anstyle) | `1.0.8` | `1.0.10` | | [anstyle-parse](https://github.com/rust-cli/anstyle) | `0.2.5` | `0.2.6` | | [anstyle-query](https://github.com/rust-cli/anstyle) | `1.1.1` | `1.1.2` | | [anyhow](https://github.com/dtolnay/anyhow) | `1.0.89` | `1.0.92` | | [bytemuck](https://github.com/Lokathor/bytemuck) | `1.18.0` | `1.19.0` | | [cc](https://github.com/rust-lang/cc-rs) | `1.1.28` | `1.1.34` | | [colorchoice](https://github.com/rust-cli/anstyle) | `1.0.2` | `1.0.3` | | [pin-project-lite](https://github.com/taiki-e/pin-project-lite) | `0.2.14` | `0.2.15` | | [proc-macro2](https://github.com/dtolnay/proc-macro2) | `1.0.86` | `1.0.89` | | [regex](https://github.com/rust-lang/regex) | `1.11.0` | `1.11.1` | | [rustix](https://github.com/bytecodealliance/rustix) | `0.38.37` | `0.38.38` | | [uuid](https://github.com/uuid-rs/uuid) | `1.10.0` | `1.11.0` | Updates `clap` from 4.5.19 to 4.5.20 - [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/clap_complete-v4.5.19...clap_complete-v4.5.20) Updates `libc` from 0.2.159 to 0.2.161 - [Release notes](https://github.com/rust-lang/libc/releases) - [Changelog](https://github.com/rust-lang/libc/blob/0.2.161/CHANGELOG.md) - [Commits](https://github.com/rust-lang/libc/compare/0.2.159...0.2.161) Updates `thiserror` from 1.0.64 to 1.0.67 - [Release notes](https://github.com/dtolnay/thiserror/releases) - [Commits](https://github.com/dtolnay/thiserror/compare/1.0.64...1.0.67) Updates `vhost` 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-v0.12.0...vhost-v0.13.0) Updates `vhost-user-backend` from 0.16.0 to 0.17.0 - [Release notes](https://github.com/rust-vmm/vhost/releases) - [Commits](https://github.com/rust-vmm/vhost/compare/vhost-user-backend-v0.16.0...vhost-user-backend-v0.17.0) Updates `virtio-bindings` from 0.2.3 to 0.2.4 - [Release notes](https://github.com/rust-vmm/vm-virtio/releases) - [Commits](https://github.com/rust-vmm/vm-virtio/compare/virtio-bindings-v0.2.3...virtio-bindings-v0.2.4) Updates `virtio-queue` from 0.13.0 to 0.14.0 - [Release notes](https://github.com/rust-vmm/vm-virtio/releases) - [Commits](https://github.com/rust-vmm/vm-virtio/compare/virtio-queue-v0.13.0...virtio-queue-v0.14.0) Updates `vm-memory` from 0.15.0 to 0.16.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.15.0...v0.16.0) Updates `virtio-vsock` from 0.7.0 to 0.8.0 - [Release notes](https://github.com/rust-vmm/vm-virtio/releases) - [Commits](https://github.com/rust-vmm/vm-virtio/compare/virtio-vsock-v0.7.0...virtio-vsock-v0.8.0) Updates `serde` from 1.0.210 to 1.0.214 - [Release notes](https://github.com/serde-rs/serde/releases) - [Commits](https://github.com/serde-rs/serde/compare/v1.0.210...v1.0.214) Updates `anstream` from 0.6.15 to 0.6.17 - [Commits](https://github.com/rust-cli/anstyle/compare/anstream-v0.6.15...anstream-v0.6.17) Updates `anstyle` from 1.0.8 to 1.0.10 - [Commits](https://github.com/rust-cli/anstyle/compare/v1.0.8...v1.0.10) Updates `anstyle-parse` from 0.2.5 to 0.2.6 - [Commits](https://github.com/rust-cli/anstyle/compare/anstyle-parse-v0.2.5...anstyle-parse-v0.2.6) Updates `anstyle-query` from 1.1.1 to 1.1.2 - [Commits](https://github.com/rust-cli/anstyle/compare/anstyle-query-v1.1.1...anstyle-query-v1.1.2) Updates `anstyle-wincon` from 3.0.4 to 3.0.6 - [Commits](https://github.com/rust-cli/anstyle/compare/anstyle-wincon-v3.0.4...anstyle-wincon-v3.0.6) Updates `anyhow` from 1.0.89 to 1.0.92 - [Release notes](https://github.com/dtolnay/anyhow/releases) - [Commits](https://github.com/dtolnay/anyhow/compare/1.0.89...1.0.92) Updates `bytemuck` from 1.18.0 to 1.19.0 - [Changelog](https://github.com/Lokathor/bytemuck/blob/main/changelog.md) - [Commits](https://github.com/Lokathor/bytemuck/compare/v1.18.0...v1.19.0) Updates `cc` from 1.1.28 to 1.1.34 - [Release notes](https://github.com/rust-lang/cc-rs/releases) - [Changelog](https://github.com/rust-lang/cc-rs/blob/main/CHANGELOG.md) - [Commits](https://github.com/rust-lang/cc-rs/compare/cc-v1.1.28...cc-v1.1.34) Updates `clap_builder` from 4.5.19 to 4.5.20 - [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.5.19...v4.5.20) Updates `colorchoice` from 1.0.2 to 1.0.3 - [Commits](https://github.com/rust-cli/anstyle/compare/colorchoice-v1.0.2...colorchoice-v1.0.3) Updates `pin-project-lite` from 0.2.14 to 0.2.15 - [Release notes](https://github.com/taiki-e/pin-project-lite/releases) - [Changelog](https://github.com/taiki-e/pin-project-lite/blob/main/CHANGELOG.md) - [Commits](https://github.com/taiki-e/pin-project-lite/compare/v0.2.14...v0.2.15) Updates `proc-macro2` from 1.0.86 to 1.0.89 - [Release notes](https://github.com/dtolnay/proc-macro2/releases) - [Commits](https://github.com/dtolnay/proc-macro2/compare/1.0.86...1.0.89) Updates `regex` from 1.11.0 to 1.11.1 - [Release notes](https://github.com/rust-lang/regex/releases) - [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-lang/regex/compare/1.11.0...1.11.1) Updates `rustix` from 0.38.37 to 0.38.38 - [Release notes](https://github.com/bytecodealliance/rustix/releases) - [Changelog](https://github.com/bytecodealliance/rustix/blob/main/CHANGELOG.md) - [Commits](https://github.com/bytecodealliance/rustix/compare/v0.38.37...v0.38.38) Updates `serde_derive` from 1.0.210 to 1.0.214 - [Release notes](https://github.com/serde-rs/serde/releases) - [Commits](https://github.com/serde-rs/serde/compare/v1.0.210...v1.0.214) Updates `thiserror-impl` from 1.0.64 to 1.0.67 - [Release notes](https://github.com/dtolnay/thiserror/releases) - [Commits](https://github.com/dtolnay/thiserror/compare/1.0.64...1.0.67) Updates `uuid` from 1.10.0 to 1.11.0 - [Release notes](https://github.com/uuid-rs/uuid/releases) - [Commits](https://github.com/uuid-rs/uuid/compare/1.10.0...1.11.0) Updates `uuid-macro-internal` from 1.10.0 to 1.11.0 - [Release notes](https://github.com/uuid-rs/uuid/releases) - [Commits](https://github.com/uuid-rs/uuid/compare/1.10.0...1.11.0) --- 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: thiserror 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-bindings dependency-type: direct:production update-type: version-update:semver-patch 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: 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: anstream dependency-type: indirect update-type: version-update:semver-patch dependency-group: vhost-device - dependency-name: anstyle dependency-type: indirect update-type: version-update:semver-patch dependency-group: vhost-device - dependency-name: anstyle-parse dependency-type: indirect update-type: version-update:semver-patch dependency-group: vhost-device - dependency-name: anstyle-query dependency-type: indirect update-type: version-update:semver-patch dependency-group: vhost-device - dependency-name: anstyle-wincon dependency-type: indirect update-type: version-update:semver-patch dependency-group: vhost-device - dependency-name: anyhow dependency-type: indirect update-type: version-update:semver-patch dependency-group: vhost-device - dependency-name: bytemuck dependency-type: indirect update-type: version-update:semver-minor dependency-group: vhost-device - dependency-name: cc dependency-type: indirect update-type: version-update:semver-patch dependency-group: vhost-device - dependency-name: clap_builder dependency-type: indirect update-type: version-update:semver-patch dependency-group: vhost-device - dependency-name: colorchoice dependency-type: indirect update-type: version-update:semver-patch dependency-group: vhost-device - dependency-name: pin-project-lite 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: regex dependency-type: indirect update-type: version-update:semver-patch dependency-group: vhost-device - dependency-name: rustix dependency-type: indirect update-type: version-update:semver-patch dependency-group: vhost-device - dependency-name: serde_derive dependency-type: indirect update-type: version-update:semver-patch dependency-group: vhost-device - dependency-name: thiserror-impl dependency-type: indirect update-type: version-update:semver-patch dependency-group: vhost-device - dependency-name: uuid dependency-type: indirect update-type: version-update:semver-minor dependency-group: vhost-device - dependency-name: uuid-macro-internal dependency-type: indirect update-type: version-update:semver-minor dependency-group: vhost-device ... Signed-off-by: dependabot[bot] <support@github.com> |
||
|
|
0a5902b904 |
scmi: Prepare v0.3.0 release
Update CHANGELOG.md and Cargo.toml for v0.3.0 release. This release adds SCMI notification support. Signed-off-by: Milan Zamazal <mzamazal@redhat.com> |
||
|
|
ef98372646 |
chore: fix clippy warnings
The new version of clippy in the CI suggested several improvements. Some fixed with `clippy --fix`, some by hand. Signed-off-by: Stefano Garzarella <sgarzare@redhat.com> |
||
|
|
9801d71dee |
scmi: add eventqueue notification
eventqueue notification for sensor device is not implemented before. It adds a initial version to implement this feature. Now input event can be captured and dealt. At the beginning, we open all scmidevices which can do notification. For example: open /dev/iio:deviceX during VuScmiBackend initializtion. And in function register_device, we create "device_identify" for each devices. If this device can do notificaiton, insert this identify into ScmiHandler event_fds hashmap. After that, register all those devices with an increasing device_event. For this reason, we need to change SensorT trait. And add Option<File> which is used for those notifiable Sensor in trait SensorT. For instance, iio devices support notification if "/dev/iio:devixeX" exist, which should implement them. Signed-off-by: Junnan Wu <junnan01.wu@samsung.com> |
||
|
|
fade33c618 |
scmi: refactor function read_axis
In function read_axis, there are two steps. The first is reading number for sysfs file. The second is reading offset and scales. And the second step can be reused in notification, therefore we separate it into two functions. Signed-off-by: Junnan Wu <junnan01.wu@samsung.com> |
||
|
|
67274cf5dd |
scmi: modify return value of function reading_get
According to the document of "System Control and Management Interface", The sensor_value_low and sensor_value_high in SENSOR_READING structure shoud be int32 instead of uint32. Signed-off-by: Junnan Wu <junnan01.wu@samsung.com> |
||
|
|
74ebb3889e |
scmi: fix the typo of gyro sensor
There is an error spell for gyroscope sensors which provides attribute named "anglvel" instead of "anglevel". Signed-off-by: Junnan Wu <junnan01.wu@samsung.com> |
||
|
|
d68f377ab1 |
scmi: set name only when missing name
If vhost-device-scmi running with name argument, do not set name again. If not, use value from fs, otherwise use default name. It can avoid that program exit unexpectedly when the length of native sensor name is too long. Correspondingly, modify related unit test function. Signed-off-by: Junnan Wu <junnan01.wu@samsung.com> |
||
|
|
c1f9f3c94c |
build(deps): bump the vhost-device group across 1 directory with 17 updates
Bumps the vhost-device group with 14 updates in the / directory: | Package | From | To | | --- | --- | --- | | [clap](https://github.com/clap-rs/clap) | `4.5.16` | `4.5.17` | | [vhost](https://github.com/rust-vmm/vhost) | `0.11.0` | `0.12.0` | | [vhost-user-backend](https://github.com/rust-vmm/vhost) | `0.15.0` | `0.16.0` | | [virtio-queue](https://github.com/rust-vmm/vm-virtio) | `0.12.0` | `0.13.0` | | [vm-memory](https://github.com/rust-vmm/vm-memory) | `0.14.1` | `0.15.0` | | [virtio-vsock](https://github.com/rust-vmm/vm-virtio) | `0.6.0` | `0.7.0` | | [serde](https://github.com/serde-rs/serde) | `1.0.209` | `1.0.210` | | [anyhow](https://github.com/dtolnay/anyhow) | `1.0.86` | `1.0.89` | | [bytemuck](https://github.com/Lokathor/bytemuck) | `1.17.1` | `1.18.0` | | [cc](https://github.com/rust-lang/cc-rs) | `1.1.15` | `1.1.19` | | [once_cell](https://github.com/matklad/once_cell) | `1.19.0` | `1.20.0` | | [rustix](https://github.com/bytecodealliance/rustix) | `0.38.35` | `0.38.37` | | [unicode-ident](https://github.com/dtolnay/unicode-ident) | `1.0.12` | `1.0.13` | | [unicode-segmentation](https://github.com/unicode-rs/unicode-segmentation) | `1.11.0` | `1.12.0` | Updates `clap` from 4.5.16 to 4.5.17 - [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/clap_complete-v4.5.16...clap_complete-v4.5.17) Updates `vhost` 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-v0.11.0...vhost-v0.12.0) Updates `vhost-user-backend` from 0.15.0 to 0.16.0 - [Release notes](https://github.com/rust-vmm/vhost/releases) - [Commits](https://github.com/rust-vmm/vhost/compare/vhost-user-backend-v0.15.0...vhost-user-backend-v0.16.0) Updates `virtio-bindings` from 0.2.2 to 0.2.3 - [Release notes](https://github.com/rust-vmm/vm-virtio/releases) - [Commits](https://github.com/rust-vmm/vm-virtio/compare/virtio-bindings-v0.2.2...virtio-bindings-v0.2.3) Updates `virtio-queue` from 0.12.0 to 0.13.0 - [Release notes](https://github.com/rust-vmm/vm-virtio/releases) - [Commits](https://github.com/rust-vmm/vm-virtio/compare/virtio-queue-v0.12.0...virtio-queue-v0.13.0) Updates `vm-memory` from 0.14.1 to 0.15.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.14.1...v0.15.0) Updates `virtio-vsock` from 0.6.0 to 0.7.0 - [Release notes](https://github.com/rust-vmm/vm-virtio/releases) - [Commits](https://github.com/rust-vmm/vm-virtio/compare/virtio-vsock-v0.6.0...virtio-vsock-v0.7.0) Updates `serde` from 1.0.209 to 1.0.210 - [Release notes](https://github.com/serde-rs/serde/releases) - [Commits](https://github.com/serde-rs/serde/compare/v1.0.209...v1.0.210) Updates `anyhow` from 1.0.86 to 1.0.89 - [Release notes](https://github.com/dtolnay/anyhow/releases) - [Commits](https://github.com/dtolnay/anyhow/compare/1.0.86...1.0.89) Updates `bytemuck` from 1.17.1 to 1.18.0 - [Changelog](https://github.com/Lokathor/bytemuck/blob/main/changelog.md) - [Commits](https://github.com/Lokathor/bytemuck/compare/v1.17.1...v1.18.0) Updates `cc` from 1.1.15 to 1.1.19 - [Release notes](https://github.com/rust-lang/cc-rs/releases) - [Changelog](https://github.com/rust-lang/cc-rs/blob/main/CHANGELOG.md) - [Commits](https://github.com/rust-lang/cc-rs/compare/cc-v1.1.15...cc-v1.1.19) Updates `clap_builder` from 4.5.15 to 4.5.17 - [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.5.15...v4.5.17) Updates `once_cell` from 1.19.0 to 1.20.0 - [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md) - [Commits](https://github.com/matklad/once_cell/compare/v1.19.0...v1.20.0) Updates `rustix` from 0.38.35 to 0.38.37 - [Release notes](https://github.com/bytecodealliance/rustix/releases) - [Changelog](https://github.com/bytecodealliance/rustix/blob/main/CHANGELOG.md) - [Commits](https://github.com/bytecodealliance/rustix/compare/v0.38.35...v0.38.37) Updates `serde_derive` from 1.0.209 to 1.0.210 - [Release notes](https://github.com/serde-rs/serde/releases) - [Commits](https://github.com/serde-rs/serde/compare/v1.0.209...v1.0.210) Updates `unicode-ident` from 1.0.12 to 1.0.13 - [Release notes](https://github.com/dtolnay/unicode-ident/releases) - [Commits](https://github.com/dtolnay/unicode-ident/compare/1.0.12...1.0.13) Updates `unicode-segmentation` from 1.11.0 to 1.12.0 - [Commits](https://github.com/unicode-rs/unicode-segmentation/compare/v1.11.0...v1.12.0) --- updated-dependencies: - dependency-name: clap 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-bindings dependency-type: direct:production update-type: version-update:semver-patch 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: 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: anyhow dependency-type: indirect update-type: version-update:semver-patch dependency-group: vhost-device - dependency-name: bytemuck dependency-type: indirect update-type: version-update:semver-minor dependency-group: vhost-device - dependency-name: cc dependency-type: indirect update-type: version-update:semver-patch dependency-group: vhost-device - dependency-name: clap_builder dependency-type: indirect update-type: version-update:semver-patch dependency-group: vhost-device - dependency-name: once_cell dependency-type: indirect 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: serde_derive dependency-type: indirect update-type: version-update:semver-patch dependency-group: vhost-device - dependency-name: unicode-ident dependency-type: indirect update-type: version-update:semver-patch dependency-group: vhost-device - dependency-name: unicode-segmentation dependency-type: indirect update-type: version-update:semver-minor dependency-group: vhost-device ... Signed-off-by: dependabot[bot] <support@github.com> |
||
|
|
1980b87893 |
scmi: Remove an unused piece of code
SensorT methods invalid_property and process_property are unused and the compiler complains about the fact. Signed-off-by: Milan Zamazal <mzamazal@redhat.com> |
||
|
|
ed0f98e442 |
chore: standardize changelogs
Resolve small differences between our changelogs and fix small problems. Signed-off-by: Stefano Garzarella <sgarzare@redhat.com> |
||
|
|
b10ce03602 |
scmi: Prepare v0.2.0 release
Update CHANGELOG.md and Cargo.toml for v0.2.0 relase. Signed-off-by: Sergio Lopez <slp@redhat.com> |
||
|
|
4cb791e4ee |
build(deps): bump the vhost-device group with 12 updates
Bumps the vhost-device group with 12 updates: | Package | From | To | | --- | --- | --- | | [libc](https://github.com/rust-lang/libc) | `0.2.154` | `0.2.155` | | [thiserror](https://github.com/dtolnay/thiserror) | `1.0.60` | `1.0.61` | | [itertools](https://github.com/rust-itertools/itertools) | `0.12.1` | `0.13.0` | | [serde](https://github.com/serde-rs/serde) | `1.0.201` | `1.0.202` | | [anyhow](https://github.com/dtolnay/anyhow) | `1.0.83` | `1.0.86` | | [cc](https://github.com/rust-lang/cc-rs) | `1.0.97` | `1.0.98` | | [either](https://github.com/rayon-rs/either) | `1.11.0` | `1.12.0` | | [linux-raw-sys](https://github.com/sunfishcode/linux-raw-sys) | `0.4.13` | `0.4.14` | | [proc-macro2](https://github.com/dtolnay/proc-macro2) | `1.0.82` | `1.0.83` | | [serde_derive](https://github.com/serde-rs/serde) | `1.0.201` | `1.0.202` | | [serde_spanned](https://github.com/toml-rs/toml) | `0.6.5` | `0.6.6` | | [thiserror-impl](https://github.com/dtolnay/thiserror) | `1.0.60` | `1.0.61` | Updates `libc` from 0.2.154 to 0.2.155 - [Release notes](https://github.com/rust-lang/libc/releases) - [Commits](https://github.com/rust-lang/libc/compare/0.2.154...0.2.155) Updates `thiserror` from 1.0.60 to 1.0.61 - [Release notes](https://github.com/dtolnay/thiserror/releases) - [Commits](https://github.com/dtolnay/thiserror/compare/1.0.60...1.0.61) Updates `itertools` from 0.12.1 to 0.13.0 - [Changelog](https://github.com/rust-itertools/itertools/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-itertools/itertools/compare/v0.12.1...v0.13.0) Updates `serde` from 1.0.201 to 1.0.202 - [Release notes](https://github.com/serde-rs/serde/releases) - [Commits](https://github.com/serde-rs/serde/compare/v1.0.201...v1.0.202) Updates `anyhow` from 1.0.83 to 1.0.86 - [Release notes](https://github.com/dtolnay/anyhow/releases) - [Commits](https://github.com/dtolnay/anyhow/compare/1.0.83...1.0.86) Updates `cc` from 1.0.97 to 1.0.98 - [Release notes](https://github.com/rust-lang/cc-rs/releases) - [Commits](https://github.com/rust-lang/cc-rs/compare/1.0.97...1.0.98) Updates `either` from 1.11.0 to 1.12.0 - [Commits](https://github.com/rayon-rs/either/compare/1.11.0...1.12.0) Updates `linux-raw-sys` from 0.4.13 to 0.4.14 - [Commits](https://github.com/sunfishcode/linux-raw-sys/compare/v0.4.13...v0.4.14) Updates `proc-macro2` from 1.0.82 to 1.0.83 - [Release notes](https://github.com/dtolnay/proc-macro2/releases) - [Commits](https://github.com/dtolnay/proc-macro2/compare/1.0.82...1.0.83) Updates `serde_derive` from 1.0.201 to 1.0.202 - [Release notes](https://github.com/serde-rs/serde/releases) - [Commits](https://github.com/serde-rs/serde/compare/v1.0.201...v1.0.202) Updates `serde_spanned` from 0.6.5 to 0.6.6 - [Commits](https://github.com/toml-rs/toml/compare/serde_spanned-v0.6.5...serde_spanned-v0.6.6) Updates `thiserror-impl` from 1.0.60 to 1.0.61 - [Release notes](https://github.com/dtolnay/thiserror/releases) - [Commits](https://github.com/dtolnay/thiserror/compare/1.0.60...1.0.61) --- updated-dependencies: - dependency-name: libc 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: itertools 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: anyhow dependency-type: indirect update-type: version-update:semver-patch dependency-group: vhost-device - dependency-name: cc dependency-type: indirect update-type: version-update:semver-patch dependency-group: vhost-device - dependency-name: either dependency-type: indirect update-type: version-update:semver-minor dependency-group: vhost-device - dependency-name: linux-raw-sys 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: serde_derive dependency-type: indirect update-type: version-update:semver-patch dependency-group: vhost-device - dependency-name: serde_spanned dependency-type: indirect update-type: version-update:semver-patch dependency-group: vhost-device - dependency-name: thiserror-impl dependency-type: indirect update-type: version-update:semver-patch dependency-group: vhost-device ... Signed-off-by: dependabot[bot] <support@github.com> |
||
|
|
a7e356bf35 |
build(deps): bump the vhost-device group with 34 updates
Bumps the vhost-device group with 34 updates: | Package | From | To | | --- | --- | --- | | [clap](https://github.com/clap-rs/clap) | `4.5.3` | `4.5.4` | | [thiserror](https://github.com/dtolnay/thiserror) | `1.0.58` | `1.0.59` | | [vhost-user-backend](https://github.com/rust-vmm/vhost) | `0.14.0` | `0.15.0` | | [virtio-queue](https://github.com/rust-vmm/vm-virtio) | `0.11.0` | `0.12.0` | | [rstest](https://github.com/la10736/rstest) | `0.18.2` | `0.19.0` | | [serde](https://github.com/serde-rs/serde) | `1.0.197` | `1.0.198` | | [allocator-api2](https://github.com/zakarumych/allocator-api2) | `0.2.16` | `0.2.18` | | [anyhow](https://github.com/dtolnay/anyhow) | `1.0.81` | `1.0.82` | | [autocfg](https://github.com/cuviper/autocfg) | `1.1.0` | `1.2.0` | | [cc](https://github.com/rust-lang/cc-rs) | `1.0.90` | `1.0.95` | | [cfg-expr](https://github.com/EmbarkStudios/cfg-expr) | `0.15.7` | `0.15.8` | | [clap_derive](https://github.com/clap-rs/clap) | `4.5.3` | `4.5.4` | | [either](https://github.com/rayon-rs/either) | `1.10.0` | `1.11.0` | | [encoding_rs](https://github.com/hsivonen/encoding_rs) | `0.8.33` | `0.8.34` | | [getrandom](https://github.com/rust-random/getrandom) | `0.2.12` | `0.2.14` | | [itoa](https://github.com/dtolnay/itoa) | `1.0.10` | `1.0.11` | | [memchr](https://github.com/BurntSushi/memchr) | `2.7.1` | `2.7.2` | | [pin-project-lite](https://github.com/taiki-e/pin-project-lite) | `0.2.13` | `0.2.14` | | [proc-macro2](https://github.com/dtolnay/proc-macro2) | `1.0.79` | `1.0.81` | | [quote](https://github.com/dtolnay/quote) | `1.0.35` | `1.0.36` | | [regex-syntax](https://github.com/rust-lang/regex) | `0.8.2` | `0.8.3` | | [rstest_macros](https://github.com/la10736/rstest) | `0.18.2` | `0.19.0` | | [rustix](https://github.com/bytecodealliance/rustix) | `0.38.32` | `0.38.33` | | [serde_derive](https://github.com/serde-rs/serde) | `1.0.197` | `1.0.198` | | [strsim](https://github.com/rapidfuzz/strsim-rs) | `0.11.0` | `0.11.1` | | [thiserror-impl](https://github.com/dtolnay/thiserror) | `1.0.58` | `1.0.59` | | [windows-targets](https://github.com/microsoft/windows-rs) | `0.52.4` | `0.52.5` | | [windows_aarch64_gnullvm](https://github.com/microsoft/windows-rs) | `0.52.4` | `0.52.5` | | [windows_aarch64_msvc](https://github.com/microsoft/windows-rs) | `0.52.4` | `0.52.5` | | [windows_i686_gnu](https://github.com/microsoft/windows-rs) | `0.52.4` | `0.52.5` | | [windows_i686_msvc](https://github.com/microsoft/windows-rs) | `0.52.4` | `0.52.5` | | [windows_x86_64_gnu](https://github.com/microsoft/windows-rs) | `0.52.4` | `0.52.5` | | [windows_x86_64_gnullvm](https://github.com/microsoft/windows-rs) | `0.52.4` | `0.52.5` | | [windows_x86_64_msvc](https://github.com/microsoft/windows-rs) | `0.52.4` | `0.52.5` | Updates `clap` from 4.5.3 to 4.5.4 - [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.5.3...v4.5.4) Updates `thiserror` from 1.0.58 to 1.0.59 - [Release notes](https://github.com/dtolnay/thiserror/releases) - [Commits](https://github.com/dtolnay/thiserror/compare/1.0.58...1.0.59) Updates `vhost-user-backend` from 0.14.0 to 0.15.0 - [Release notes](https://github.com/rust-vmm/vhost/releases) - [Commits](https://github.com/rust-vmm/vhost/commits) Updates `virtio-queue` from 0.11.0 to 0.12.0 - [Release notes](https://github.com/rust-vmm/vm-virtio/releases) - [Commits](https://github.com/rust-vmm/vm-virtio/compare/virtio-queue-v0.11.0...virtio-queue-v0.12.0) Updates `rstest` from 0.18.2 to 0.19.0 - [Release notes](https://github.com/la10736/rstest/releases) - [Changelog](https://github.com/la10736/rstest/blob/master/CHANGELOG.md) - [Commits](https://github.com/la10736/rstest/compare/v0.18.2...v0.19.0) Updates `serde` from 1.0.197 to 1.0.198 - [Release notes](https://github.com/serde-rs/serde/releases) - [Commits](https://github.com/serde-rs/serde/compare/v1.0.197...v1.0.198) Updates `allocator-api2` from 0.2.16 to 0.2.18 - [Changelog](https://github.com/zakarumych/allocator-api2/blob/main/CHANGELOG.md) - [Commits](https://github.com/zakarumych/allocator-api2/compare/v0.2.16...v0.2.18) Updates `anyhow` from 1.0.81 to 1.0.82 - [Release notes](https://github.com/dtolnay/anyhow/releases) - [Commits](https://github.com/dtolnay/anyhow/compare/1.0.81...1.0.82) Updates `autocfg` from 1.1.0 to 1.2.0 - [Commits](https://github.com/cuviper/autocfg/compare/1.1.0...1.2.0) Updates `cc` from 1.0.90 to 1.0.95 - [Release notes](https://github.com/rust-lang/cc-rs/releases) - [Commits](https://github.com/rust-lang/cc-rs/compare/1.0.90...1.0.95) Updates `cfg-expr` from 0.15.7 to 0.15.8 - [Release notes](https://github.com/EmbarkStudios/cfg-expr/releases) - [Changelog](https://github.com/EmbarkStudios/cfg-expr/blob/main/CHANGELOG.md) - [Commits](https://github.com/EmbarkStudios/cfg-expr/compare/0.15.7...0.15.8) Updates `clap_derive` from 4.5.3 to 4.5.4 - [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.5.3...v4.5.4) Updates `either` from 1.10.0 to 1.11.0 - [Commits](https://github.com/rayon-rs/either/compare/1.10.0...1.11.0) Updates `encoding_rs` from 0.8.33 to 0.8.34 - [Commits](https://github.com/hsivonen/encoding_rs/compare/v0.8.33...v0.8.34) Updates `getrandom` from 0.2.12 to 0.2.14 - [Changelog](https://github.com/rust-random/getrandom/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-random/getrandom/compare/v0.2.12...v0.2.14) Updates `itoa` from 1.0.10 to 1.0.11 - [Release notes](https://github.com/dtolnay/itoa/releases) - [Commits](https://github.com/dtolnay/itoa/compare/1.0.10...1.0.11) Updates `memchr` from 2.7.1 to 2.7.2 - [Commits](https://github.com/BurntSushi/memchr/compare/2.7.1...2.7.2) Updates `pin-project-lite` from 0.2.13 to 0.2.14 - [Release notes](https://github.com/taiki-e/pin-project-lite/releases) - [Changelog](https://github.com/taiki-e/pin-project-lite/blob/main/CHANGELOG.md) - [Commits](https://github.com/taiki-e/pin-project-lite/compare/v0.2.13...v0.2.14) Updates `proc-macro2` from 1.0.79 to 1.0.81 - [Release notes](https://github.com/dtolnay/proc-macro2/releases) - [Commits](https://github.com/dtolnay/proc-macro2/compare/1.0.79...1.0.81) Updates `quote` from 1.0.35 to 1.0.36 - [Release notes](https://github.com/dtolnay/quote/releases) - [Commits](https://github.com/dtolnay/quote/compare/1.0.35...1.0.36) Updates `regex-syntax` from 0.8.2 to 0.8.3 - [Release notes](https://github.com/rust-lang/regex/releases) - [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-lang/regex/compare/regex-syntax-0.8.2...regex-syntax-0.8.3) Updates `rstest_macros` from 0.18.2 to 0.19.0 - [Release notes](https://github.com/la10736/rstest/releases) - [Changelog](https://github.com/la10736/rstest/blob/master/CHANGELOG.md) - [Commits](https://github.com/la10736/rstest/compare/v0.18.2...v0.19.0) Updates `rustix` from 0.38.32 to 0.38.33 - [Release notes](https://github.com/bytecodealliance/rustix/releases) - [Commits](https://github.com/bytecodealliance/rustix/compare/v0.38.32...v0.38.33) Updates `serde_derive` from 1.0.197 to 1.0.198 - [Release notes](https://github.com/serde-rs/serde/releases) - [Commits](https://github.com/serde-rs/serde/compare/v1.0.197...v1.0.198) Updates `strsim` from 0.11.0 to 0.11.1 - [Release notes](https://github.com/rapidfuzz/strsim-rs/releases) - [Changelog](https://github.com/rapidfuzz/strsim-rs/blob/main/CHANGELOG.md) - [Commits](https://github.com/rapidfuzz/strsim-rs/compare/v0.11.0...v0.11.1) Updates `thiserror-impl` from 1.0.58 to 1.0.59 - [Release notes](https://github.com/dtolnay/thiserror/releases) - [Commits](https://github.com/dtolnay/thiserror/compare/1.0.58...1.0.59) Updates `windows-targets` from 0.52.4 to 0.52.5 - [Release notes](https://github.com/microsoft/windows-rs/releases) - [Commits](https://github.com/microsoft/windows-rs/commits) Updates `windows_aarch64_gnullvm` from 0.52.4 to 0.52.5 - [Release notes](https://github.com/microsoft/windows-rs/releases) - [Commits](https://github.com/microsoft/windows-rs/commits) Updates `windows_aarch64_msvc` from 0.52.4 to 0.52.5 - [Release notes](https://github.com/microsoft/windows-rs/releases) - [Commits](https://github.com/microsoft/windows-rs/commits) Updates `windows_i686_gnu` from 0.52.4 to 0.52.5 - [Release notes](https://github.com/microsoft/windows-rs/releases) - [Commits](https://github.com/microsoft/windows-rs/commits) Updates `windows_i686_msvc` from 0.52.4 to 0.52.5 - [Release notes](https://github.com/microsoft/windows-rs/releases) - [Commits](https://github.com/microsoft/windows-rs/commits) Updates `windows_x86_64_gnu` from 0.52.4 to 0.52.5 - [Release notes](https://github.com/microsoft/windows-rs/releases) - [Commits](https://github.com/microsoft/windows-rs/commits) Updates `windows_x86_64_gnullvm` from 0.52.4 to 0.52.5 - [Release notes](https://github.com/microsoft/windows-rs/releases) - [Commits](https://github.com/microsoft/windows-rs/commits) Updates `windows_x86_64_msvc` from 0.52.4 to 0.52.5 - [Release notes](https://github.com/microsoft/windows-rs/releases) - [Commits](https://github.com/microsoft/windows-rs/commits) --- 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: 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: rstest 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: allocator-api2 dependency-type: indirect update-type: version-update:semver-patch dependency-group: vhost-device - dependency-name: anyhow dependency-type: indirect update-type: version-update:semver-patch dependency-group: vhost-device - dependency-name: autocfg dependency-type: indirect update-type: version-update:semver-minor dependency-group: vhost-device - dependency-name: cc dependency-type: indirect update-type: version-update:semver-patch dependency-group: vhost-device - dependency-name: cfg-expr dependency-type: indirect update-type: version-update:semver-patch dependency-group: vhost-device - dependency-name: clap_derive dependency-type: indirect update-type: version-update:semver-patch dependency-group: vhost-device - dependency-name: either dependency-type: indirect update-type: version-update:semver-minor dependency-group: vhost-device - dependency-name: encoding_rs dependency-type: indirect 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: itoa dependency-type: indirect update-type: version-update:semver-patch dependency-group: vhost-device - dependency-name: memchr dependency-type: indirect update-type: version-update:semver-patch dependency-group: vhost-device - dependency-name: pin-project-lite 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: quote dependency-type: indirect update-type: version-update:semver-patch dependency-group: vhost-device - dependency-name: regex-syntax dependency-type: indirect update-type: version-update:semver-patch dependency-group: vhost-device - dependency-name: rstest_macros dependency-type: indirect 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: serde_derive dependency-type: indirect update-type: version-update:semver-patch dependency-group: vhost-device - dependency-name: strsim dependency-type: indirect update-type: version-update:semver-patch dependency-group: vhost-device - dependency-name: thiserror-impl dependency-type: indirect update-type: version-update:semver-patch dependency-group: vhost-device - dependency-name: windows-targets dependency-type: indirect update-type: version-update:semver-patch dependency-group: vhost-device - dependency-name: windows_aarch64_gnullvm dependency-type: indirect update-type: version-update:semver-patch dependency-group: vhost-device - dependency-name: windows_aarch64_msvc dependency-type: indirect update-type: version-update:semver-patch dependency-group: vhost-device - dependency-name: windows_i686_gnu dependency-type: indirect update-type: version-update:semver-patch dependency-group: vhost-device - dependency-name: windows_i686_msvc dependency-type: indirect update-type: version-update:semver-patch dependency-group: vhost-device - dependency-name: windows_x86_64_gnu dependency-type: indirect update-type: version-update:semver-patch dependency-group: vhost-device - dependency-name: windows_x86_64_gnullvm dependency-type: indirect update-type: version-update:semver-patch dependency-group: vhost-device - dependency-name: windows_x86_64_msvc dependency-type: indirect update-type: version-update:semver-patch dependency-group: vhost-device ... Signed-off-by: dependabot[bot] <support@github.com> |
||
|
|
1b779e1c08 |
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.5.2` | `4.5.3` | | [thiserror](https://github.com/dtolnay/thiserror) | `1.0.57` | `1.0.58` | | [vhost](https://github.com/rust-vmm/vhost) | `0.10.0` | `0.11.0` | | [vhost-user-backend](https://github.com/rust-vmm/vhost) | `0.13.1` | `0.14.0` | | [vm-memory](https://github.com/rust-vmm/vm-memory) | `0.14.0` | `0.14.1` | | [serde_yaml](https://github.com/dtolnay/serde-yaml) | `0.9.32` | `0.9.33` | | [anyhow](https://github.com/dtolnay/anyhow) | `1.0.80` | `1.0.81` | | [clap_derive](https://github.com/clap-rs/clap) | `4.5.0` | `4.5.3` | | [proc-macro2](https://github.com/dtolnay/proc-macro2) | `1.0.78` | `1.0.79` | | [thiserror-impl](https://github.com/dtolnay/thiserror) | `1.0.57` | `1.0.58` | | [unsafe-libyaml](https://github.com/dtolnay/unsafe-libyaml) | `0.2.10` | `0.2.11` | Updates `clap` from 4.5.2 to 4.5.3 - [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.5.2...v4.5.3) Updates `thiserror` from 1.0.57 to 1.0.58 - [Release notes](https://github.com/dtolnay/thiserror/releases) - [Commits](https://github.com/dtolnay/thiserror/compare/1.0.57...1.0.58) Updates `vhost` from 0.10.0 to 0.11.0 - [Release notes](https://github.com/rust-vmm/vhost/releases) - [Commits](https://github.com/rust-vmm/vhost/compare/vhost-v0.10.0...vhost-v0.11.0) Updates `vhost-user-backend` from 0.13.1 to 0.14.0 - [Release notes](https://github.com/rust-vmm/vhost/releases) - [Commits](https://github.com/rust-vmm/vhost/compare/vhost-user-backend-v0.13.1...vhost-user-backend-v0.14.0) Updates `vm-memory` from 0.14.0 to 0.14.1 - [Release notes](https://github.com/rust-vmm/vm-memory/releases) - [Changelog](https://github.com/rust-vmm/vm-memory/blob/v0.14.1/CHANGELOG.md) - [Commits](https://github.com/rust-vmm/vm-memory/compare/v0.14.0...v0.14.1) Updates `serde_yaml` from 0.9.32 to 0.9.33 - [Release notes](https://github.com/dtolnay/serde-yaml/releases) - [Commits](https://github.com/dtolnay/serde-yaml/compare/0.9.32...0.9.33) Updates `anyhow` from 1.0.80 to 1.0.81 - [Release notes](https://github.com/dtolnay/anyhow/releases) - [Commits](https://github.com/dtolnay/anyhow/compare/1.0.80...1.0.81) Updates `clap_derive` from 4.5.0 to 4.5.3 - [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.5.0...v4.5.3) Updates `proc-macro2` from 1.0.78 to 1.0.79 - [Release notes](https://github.com/dtolnay/proc-macro2/releases) - [Commits](https://github.com/dtolnay/proc-macro2/compare/1.0.78...1.0.79) Updates `thiserror-impl` from 1.0.57 to 1.0.58 - [Release notes](https://github.com/dtolnay/thiserror/releases) - [Commits](https://github.com/dtolnay/thiserror/compare/1.0.57...1.0.58) Updates `unsafe-libyaml` from 0.2.10 to 0.2.11 - [Release notes](https://github.com/dtolnay/unsafe-libyaml/releases) - [Commits](https://github.com/dtolnay/unsafe-libyaml/compare/0.2.10...0.2.11) --- 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: 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: vm-memory 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: anyhow dependency-type: indirect update-type: version-update:semver-patch dependency-group: vhost-device - dependency-name: clap_derive 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: thiserror-impl dependency-type: indirect update-type: version-update:semver-patch dependency-group: vhost-device - dependency-name: unsafe-libyaml dependency-type: indirect update-type: version-update:semver-patch dependency-group: vhost-device ... Signed-off-by: dependabot[bot] <support@github.com> |
||
|
|
2ca25ad826 |
build(deps): bump the vhost-device group with 14 updates
Bumps the vhost-device group with 14 updates: | Package | From | To | | --- | --- | --- | | [clap](https://github.com/clap-rs/clap) | `4.4.18` | `4.5.0` | | [thiserror](https://github.com/dtolnay/thiserror) | `1.0.56` | `1.0.57` | | [tempfile](https://github.com/Stebalien/tempfile) | `3.9.0` | `3.10.0` | | [anstyle](https://github.com/rust-cli/anstyle) | `1.0.5` | `1.0.6` | | [cfg-expr](https://github.com/EmbarkStudios/cfg-expr) | `0.15.6` | `0.15.7` | | [clap_builder](https://github.com/clap-rs/clap) | `4.4.18` | `4.5.0` | | [clap_derive](https://github.com/clap-rs/clap) | `4.4.7` | `4.5.0` | | [clap_lex](https://github.com/clap-rs/clap) | `0.6.0` | `0.7.0` | | [either](https://github.com/rayon-rs/either) | `1.9.0` | `1.10.0` | | [indexmap](https://github.com/indexmap-rs/indexmap) | `2.2.2` | `2.2.3` | | [strsim](https://github.com/rapidfuzz/strsim-rs) | `0.10.0` | `0.11.0` | | [thiserror-impl](https://github.com/dtolnay/thiserror) | `1.0.56` | `1.0.57` | | [unicode-segmentation](https://github.com/unicode-rs/unicode-segmentation) | `1.10.1` | `1.11.0` | | [winnow](https://github.com/winnow-rs/winnow) | `0.5.37` | `0.5.39` | Updates `clap` from 4.4.18 to 4.5.0 - [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.18...clap_complete-v4.5.0) Updates `thiserror` from 1.0.56 to 1.0.57 - [Release notes](https://github.com/dtolnay/thiserror/releases) - [Commits](https://github.com/dtolnay/thiserror/compare/1.0.56...1.0.57) Updates `tempfile` from 3.9.0 to 3.10.0 - [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md) - [Commits](https://github.com/Stebalien/tempfile/compare/v3.9.0...v3.10.0) Updates `anstyle` from 1.0.5 to 1.0.6 - [Commits](https://github.com/rust-cli/anstyle/compare/v1.0.5...v1.0.6) Updates `cfg-expr` from 0.15.6 to 0.15.7 - [Release notes](https://github.com/EmbarkStudios/cfg-expr/releases) - [Changelog](https://github.com/EmbarkStudios/cfg-expr/blob/main/CHANGELOG.md) - [Commits](https://github.com/EmbarkStudios/cfg-expr/compare/0.15.6...0.15.7) Updates `clap_builder` from 4.4.18 to 4.5.0 - [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.18...v4.5.0) Updates `clap_derive` from 4.4.7 to 4.5.0 - [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.7...v4.5.0) Updates `clap_lex` from 0.6.0 to 0.7.0 - [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/clap_lex-v0.6.0...clap_lex-v0.7.0) Updates `either` from 1.9.0 to 1.10.0 - [Commits](https://github.com/rayon-rs/either/compare/1.9.0...1.10.0) Updates `indexmap` from 2.2.2 to 2.2.3 - [Changelog](https://github.com/indexmap-rs/indexmap/blob/master/RELEASES.md) - [Commits](https://github.com/indexmap-rs/indexmap/compare/2.2.2...2.2.3) Updates `strsim` from 0.10.0 to 0.11.0 - [Release notes](https://github.com/rapidfuzz/strsim-rs/releases) - [Changelog](https://github.com/rapidfuzz/strsim-rs/blob/main/CHANGELOG.md) - [Commits](https://github.com/rapidfuzz/strsim-rs/compare/0.10.0...v0.11.0) Updates `thiserror-impl` from 1.0.56 to 1.0.57 - [Release notes](https://github.com/dtolnay/thiserror/releases) - [Commits](https://github.com/dtolnay/thiserror/compare/1.0.56...1.0.57) Updates `unicode-segmentation` from 1.10.1 to 1.11.0 - [Commits](https://github.com/unicode-rs/unicode-segmentation/compare/v1.10.1...v1.11.0) Updates `winnow` from 0.5.37 to 0.5.39 - [Changelog](https://github.com/winnow-rs/winnow/blob/main/CHANGELOG.md) - [Commits](https://github.com/winnow-rs/winnow/compare/v0.5.37...v0.5.39) --- updated-dependencies: - dependency-name: clap dependency-type: direct:production update-type: version-update:semver-minor 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: anstyle dependency-type: indirect update-type: version-update:semver-patch dependency-group: vhost-device - dependency-name: cfg-expr dependency-type: indirect update-type: version-update:semver-patch dependency-group: vhost-device - dependency-name: clap_builder dependency-type: indirect update-type: version-update:semver-minor dependency-group: vhost-device - dependency-name: clap_derive dependency-type: indirect update-type: version-update:semver-minor dependency-group: vhost-device - dependency-name: clap_lex dependency-type: indirect update-type: version-update:semver-minor dependency-group: vhost-device - dependency-name: either dependency-type: indirect update-type: version-update:semver-minor dependency-group: vhost-device - dependency-name: indexmap dependency-type: indirect update-type: version-update:semver-patch dependency-group: vhost-device - dependency-name: strsim dependency-type: indirect update-type: version-update:semver-minor dependency-group: vhost-device - dependency-name: thiserror-impl dependency-type: indirect update-type: version-update:semver-patch dependency-group: vhost-device - dependency-name: unicode-segmentation dependency-type: indirect update-type: version-update:semver-minor 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> |
||
|
|
c1f1184900 |
build(deps): bump the vhost-device group with 5 updates
Bumps the vhost-device group with 5 updates: | Package | From | To | | --- | --- | --- | | [env_logger](https://github.com/rust-cli/env_logger) | `0.10.2` | `0.11.1` | | [serde](https://github.com/serde-rs/serde) | `1.0.195` | `1.0.196` | | [serde_yaml](https://github.com/dtolnay/serde-yaml) | `0.9.30` | `0.9.31` | | [regex-automata](https://github.com/rust-lang/regex) | `0.4.4` | `0.4.5` | | [winnow](https://github.com/winnow-rs/winnow) | `0.5.34` | `0.5.35` | Updates `env_logger` from 0.10.2 to 0.11.1 - [Release notes](https://github.com/rust-cli/env_logger/releases) - [Changelog](https://github.com/rust-cli/env_logger/blob/main/CHANGELOG.md) - [Commits](https://github.com/rust-cli/env_logger/compare/v0.10.2...v0.11.1) Updates `serde` from 1.0.195 to 1.0.196 - [Release notes](https://github.com/serde-rs/serde/releases) - [Commits](https://github.com/serde-rs/serde/compare/v1.0.195...v1.0.196) Updates `serde_yaml` from 0.9.30 to 0.9.31 - [Release notes](https://github.com/dtolnay/serde-yaml/releases) - [Commits](https://github.com/dtolnay/serde-yaml/compare/0.9.30...0.9.31) Updates `regex-automata` from 0.4.4 to 0.4.5 - [Release notes](https://github.com/rust-lang/regex/releases) - [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-lang/regex/commits/regex-automata-0.4.5) Updates `winnow` from 0.5.34 to 0.5.35 - [Changelog](https://github.com/winnow-rs/winnow/blob/main/CHANGELOG.md) - [Commits](https://github.com/winnow-rs/winnow/compare/v0.5.34...v0.5.35) --- updated-dependencies: - dependency-name: env_logger 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: regex-automata 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> |
||
|
|
65140bff6a |
Use Vec::first() instead of Vec::get(0)
Fix the following clippy warning:
warning: accessing first element with `configs.get(0)`
--> vhost-device-vsock/src/main.rs:410:22
|
410 | let config = configs.get(0).unwrap();
| ^^^^^^^^^^^^^^ help: try: `configs.first()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
= note: `#[warn(clippy::get_first)]` on by default
Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
|
||
|
|
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> |
||
|
|
ddc25ecf34 |
scmi: revert to previous --help-devices behavior
Commit
|
||
|
|
b37e7e5709 |
scmi: make socket_path required
Use clap's derive attributes to print device help instead of doing it
manually with the parsed arguments.
Previous output
===============
```text
Usage: vhost-device-scmi [OPTIONS]
Options:
-s, --socket-path <SOCKET_PATH> vhost-user socket to use (required)
-d, --device <DEVICE>... Devices to expose
--help-devices Print help on available devices
-h, --help Print help
```
New output
==========
```text
vhost-user SCMI backend device
Usage: vhost-device-scmi [OPTIONS] --socket-path <SOCKET_PATH>
Options:
-s, --socket-path <SOCKET_PATH> vhost-user socket to use
-d, --device <DEVICE>... Devices to expose
-h, --help Print help
-V, --version Print version
Available devices:
- iio: industrial I/O sensor
Parameters:
- path: path to the device directory (e.g. /sys/bus/iio/devices/iio:device0)
- channel: prefix of the device type (e.g. in_accel)
- name: an optional name of the sensor, max. 15 characters
- fake: fake accelerometer
A simple 3-axes sensor providing fake pre-defined values.
Parameters:
- name: an optional name of the sensor, max. 15 characters
Device specification example:
--device iio,path=/sys/bus/iio/devices/iio:device0,channel=in_accel
```
Signed-off-by: Manos Pitsidianakis <manos.pitsidianakis@linaro.org>
|
||
|
|
4ba64be44b |
scmi: 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 filesystem paths. Signed-off-by: Manos Pitsidianakis <manos.pitsidianakis@linaro.org> |
||
|
|
00ad80d736 |
vhost-device: Don't return bool unnecessarily
Since everyone copied the first bits of code from the I2C crate, the same issue is present almost everywhere. The returned value isn't checked at all by the callers. Stop returning bool unnecessarily. Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> |
||
|
|
25c6ac3362 |
tree-wide: use new serve convenience function
This become available with the recent vhost-user-backend [1] updates and allows to get rid of some boilerplate code. [1] https://github.com/rust-vmm/vhost/pull/173 Signed-off-by: Erik Schilling <erik.schilling@linaro.org> |
||
|
|
57ecd73fad |
build(deps): bump the vhost-device group with 2 updates
Bumps the vhost-device group with 2 updates: [itertools](https://github.com/rust-itertools/itertools) and [rustix](https://github.com/bytecodealliance/rustix). Updates `itertools` from 0.11.0 to 0.12.0 - [Changelog](https://github.com/rust-itertools/itertools/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-itertools/itertools/compare/v0.11.0...v0.12.0) Updates `rustix` from 0.38.23 to 0.38.24 - [Release notes](https://github.com/bytecodealliance/rustix/releases) - [Commits](https://github.com/bytecodealliance/rustix/compare/v0.38.23...v0.38.24) --- updated-dependencies: - dependency-name: itertools 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 ... Signed-off-by: dependabot[bot] <support@github.com> Downgrading `cc` from v1.0.84 (yanked) to v1.0.83 Signed-off-by: Stefano Garzarella <sgarzare@redhat.com> |
||
|
|
31154ea0da |
Update vhost-user-backend to 0.11 series
- Features were renamed from slave -> backend - Generics got simplified - Some write and read functions on Volatile slice got turned into standalone traits: ReadVolatile, WriteVolatile - handle_event no longer returns a bool Signed-off-by: Erik Schilling <erik.schilling@linaro.org> |
||
|
|
a1e013286f |
Move all crates to workspace root
Having all the workspace crates under the crates/ directory is unnecessary. Rust documentation itself recommends all crates to be in the root directory: https://doc.rust-lang.org/book/ch14-03-cargo-workspaces.html#creating-the-second-package-in-the-workspace I paste the text content here, in case the online page ever changes or becomes unavailable: ## Creating the Second Package in the Workspace Next, let’s create another member package in the workspace and call it add_one. Change the top-level Cargo.toml to specify the add_one path in the members list: Filename: Cargo.toml [workspace] members = [ "adder", "add_one", ] Then generate a new library crate named add_one: $ cargo new add_one --lib Created library `add_one` package Your add directory should now have these directories and files: ├── Cargo.lock ├── Cargo.toml ├── add_one │ ├── Cargo.toml │ └── src │ └── lib.rs ├── adder │ ├── Cargo.toml │ └── src │ └── main.rs └── target Signed-off-by: Manos Pitsidianakis <manos.pitsidianakis@linaro.org> |