mirror of
https://github.com/rust-vmm/vhost-device.git
synced 2025-12-29 00:41:19 +00:00
d43fd79bb7
16 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>
|
||
|
|
4db68204f8 |
build(deps): bump the rust-vmm group across 2 directories with 1 update
Bumps the rust-vmm group with 1 update in the / directory: [virtio-bindings](https://github.com/rust-vmm/vm-virtio). Bumps the rust-vmm group with 1 update in the /staging directory: [virtio-bindings](https://github.com/rust-vmm/vm-virtio). Updates `virtio-bindings` from 0.2.4 to 0.2.5 - [Release notes](https://github.com/rust-vmm/vm-virtio/releases) - [Commits](https://github.com/rust-vmm/vm-virtio/compare/virtio-bindings-v0.2.4...virtio-bindings-v0.2.5) Updates `virtio-bindings` from 0.2.4 to 0.2.5 - [Release notes](https://github.com/rust-vmm/vm-virtio/releases) - [Commits](https://github.com/rust-vmm/vm-virtio/compare/virtio-bindings-v0.2.4...virtio-bindings-v0.2.5) --- updated-dependencies: - dependency-name: virtio-bindings dependency-type: direct:production update-type: version-update:semver-patch dependency-group: rust-vmm - dependency-name: virtio-bindings dependency-type: direct:production update-type: version-update:semver-patch dependency-group: rust-vmm ... Signed-off-by: dependabot[bot] <support@github.com> |
||
|
|
04c30f700a |
vhost-device-console: Being able to specify max queue size
Some hypervisors, e.g. UML, negotiate a queue size larger than `QUEUE_SIZE` (128), which results in failures. This patch allows users to specify it using `--max-queue-size <size>`. Signed-off-by: Xuewei Niu <niuxuewei.nxw@antgroup.com> |
||
|
|
2c8440a99f |
vhost-device-console: Fix a typo in README
In the example of using `vhost-user-console-pci`, the id should be `con0` instead of `con`. Signed-off-by: Xuewei Niu <niuxuewei.nxw@antgroup.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> |
||
|
|
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> |
||
|
|
ad30537ab0 |
console: add crate-level clippy lints
Signed-off-by: Manos Pitsidianakis <manos.pitsidianakis@linaro.org> |
||
|
|
8a2a11d877 |
console: run nightly rustfmt to group imports
Nightly rustfmt groups imports neatly, so run it to make things prettier. Signed-off-by: Manos Pitsidianakis <manos.pitsidianakis@linaro.org> |
||
|
|
c3a346c63a |
console: move event constants to QueueEvent enum
For the purpose of "namespacing" them under the enum type. While at it, move QUEUE_SIZE and NUM_QUEUES as related constants for VhostUserConsoleBackend. Signed-off-by: Manos Pitsidianakis <manos.pitsidianakis@linaro.org> |
||
|
|
084d7ed082 |
console: specify unknown event in HandleEventUnknown
Since we know the unknown event value, we might as well specify it in the error message of Error::HandleEventUnknown to help users and developers. While at it, return an error when trying to access vrings with `device_event` >= QUEUE_SIZE. Signed-off-by: Manos Pitsidianakis <manos.pitsidianakis@linaro.org> |
||
|
|
03bf860b28 |
console: remove extraneous convert::From use
std::convert::From is included in the prelude, so no need to refer to it by its full path. Signed-off-by: Manos Pitsidianakis <manos.pitsidianakis@linaro.org> |
||
|
|
c7d4bf6f63 |
console: remove extraneous newline from expect()
expect(), like panic!(), does not trailing need newlines. Remove them. Signed-off-by: Manos Pitsidianakis <manos.pitsidianakis@linaro.org> |
||
|
|
ab9a8af504 |
console: fix wording for CouldNotInitBackend error
Human readable text for this error variant was copied from
CouldNotCreateBackend, so adjust it for its own purpose.
Fixes:
|
||
|
|
d74eeb4e1a |
console: fix broken symlinks
Crate was moved to root workspace, but the LICENSE-* symbolic links were
not updated.
Fixes:
|
||
|
|
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> |
||
|
|
0b06c22096 |
vhost-device-console: promote to main workspace
The current implementation seems ready to be promoted to the main workspace since the device supports test coverage have been increased and the basic functionality is implemented. Cargo.lock files both in main and staging workspaces are updated. Support for VIRTIO_CONSOLE_F_SIZE and VIRTIO_CONSOLE_F_EMERG_WRITE is still missing. Signed-off-by: Timos Ampelikiotis <t.ampelikiotis@virtualopensystems.com> |