João Peixoto
fedf1cb55b
fix(README): vhost-user-frontend and vm-virtio hyperlinks
...
Signed-off-by: João Peixoto <joaopeixotooficial@gmail.com>
2024-09-30 09:54:42 +02:00
dependabot[bot]
d0a7a9dd82
build(deps): bump the vhost-device group with 10 updates
...
Bumps the vhost-device group with 10 updates:
| Package | From | To |
| --- | --- | --- |
| [libc](https://github.com/rust-lang/libc ) | `0.2.158` | `0.2.159` |
| [tempfile](https://github.com/Stebalien/tempfile ) | `3.12.0` | `3.13.0` |
| [autocfg](https://github.com/cuviper/autocfg ) | `1.3.0` | `1.4.0` |
| [cc](https://github.com/rust-lang/cc-rs ) | `1.1.21` | `1.1.22` |
| [once_cell](https://github.com/matklad/once_cell ) | `1.19.0` | `1.20.1` |
| [pkg-config](https://github.com/rust-lang/pkg-config-rs ) | `0.3.30` | `0.3.31` |
| [regex](https://github.com/rust-lang/regex ) | `1.10.6` | `1.11.0` |
| [regex-automata](https://github.com/rust-lang/regex ) | `0.4.7` | `0.4.8` |
| [regex-syntax](https://github.com/rust-lang/regex ) | `0.8.4` | `0.8.5` |
| [serde_spanned](https://github.com/toml-rs/toml ) | `0.6.7` | `0.6.8` |
Updates `libc` from 0.2.158 to 0.2.159
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Changelog](https://github.com/rust-lang/libc/blob/0.2.159/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.158...0.2.159 )
Updates `tempfile` from 3.12.0 to 3.13.0
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Stebalien/tempfile/compare/v3.12.0...v3.13.0 )
Updates `autocfg` from 1.3.0 to 1.4.0
- [Commits](https://github.com/cuviper/autocfg/compare/1.3.0...1.4.0 )
Updates `cc` from 1.1.21 to 1.1.22
- [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.21...cc-v1.1.22 )
Updates `once_cell` from 1.19.0 to 1.20.1
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md )
- [Commits](https://github.com/matklad/once_cell/compare/v1.19.0...v1.20.1 )
Updates `pkg-config` from 0.3.30 to 0.3.31
- [Changelog](https://github.com/rust-lang/pkg-config-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/pkg-config-rs/compare/0.3.30...0.3.31 )
Updates `regex` from 1.10.6 to 1.11.0
- [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.10.6...1.11.0 )
Updates `regex-automata` from 0.4.7 to 0.4.8
- [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 )
Updates `regex-syntax` from 0.8.4 to 0.8.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 )
Updates `serde_spanned` from 0.6.7 to 0.6.8
- [Commits](https://github.com/toml-rs/toml/compare/serde_spanned-v0.6.7...serde_spanned-v0.6.8 )
---
updated-dependencies:
- 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: 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: once_cell
dependency-type: indirect
update-type: version-update:semver-minor
dependency-group: vhost-device
- dependency-name: pkg-config
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: vhost-device
- dependency-name: regex
dependency-type: indirect
update-type: version-update:semver-minor
dependency-group: vhost-device
- dependency-name: regex-automata
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: serde_spanned
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: vhost-device
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-09-30 09:50:29 +02:00
Stefano Garzarella
057f3fefe5
chore: update code coverage score
...
The new CI update increased code coverage also in other repos.
Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
2024-09-25 10:27:44 +03:00
dependabot[bot]
723ca4d6d0
build(deps): bump rust-vmm-ci from 5e818dc to 438f36e
...
Bumps [rust-vmm-ci](https://github.com/rust-vmm/rust-vmm-ci ) from `5e818dc` to `438f36e`.
- [Commits](5e818dc729...438f36e242 )
---
updated-dependencies:
- dependency-name: rust-vmm-ci
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-09-25 10:27:44 +03:00
Stefano Garzarella
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>
2024-09-25 10:27:44 +03:00
Junnan Wu
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>
2024-09-24 07:47:49 +03:00
Junnan Wu
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>
2024-09-24 07:47:49 +03:00
Junnan Wu
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>
2024-09-24 07:47:49 +03:00
Junnan Wu
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>
2024-09-24 07:47:49 +03:00
Junnan Wu
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>
2024-09-24 07:47:49 +03:00
dependabot[bot]
ca3e400e85
build(deps): bump the vhost-device group with 7 updates
...
Bumps the vhost-device group with 7 updates:
| Package | From | To |
| --- | --- | --- |
| [clap](https://github.com/clap-rs/clap ) | `4.5.17` | `4.5.18` |
| [thiserror](https://github.com/dtolnay/thiserror ) | `1.0.63` | `1.0.64` |
| [cc](https://github.com/rust-lang/cc-rs ) | `1.1.19` | `1.1.21` |
| [clap_builder](https://github.com/clap-rs/clap ) | `4.5.17` | `4.5.18` |
| [clap_derive](https://github.com/clap-rs/clap ) | `4.5.13` | `4.5.18` |
| [thiserror-impl](https://github.com/dtolnay/thiserror ) | `1.0.63` | `1.0.64` |
| [unicode-width](https://github.com/unicode-rs/unicode-width ) | `0.1.13` | `0.1.14` |
Updates `clap` from 4.5.17 to 4.5.18
- [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.17...clap_complete-v4.5.18 )
Updates `thiserror` from 1.0.63 to 1.0.64
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.63...1.0.64 )
Updates `cc` from 1.1.19 to 1.1.21
- [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.19...cc-v1.1.21 )
Updates `clap_builder` from 4.5.17 to 4.5.18
- [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.17...v4.5.18 )
Updates `clap_derive` from 4.5.13 to 4.5.18
- [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.13...v4.5.18 )
Updates `thiserror-impl` from 1.0.63 to 1.0.64
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.63...1.0.64 )
Updates `unicode-width` from 0.1.13 to 0.1.14
- [Commits](https://github.com/unicode-rs/unicode-width/compare/v0.1.13...v0.1.14 )
---
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: 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: clap_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: unicode-width
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: vhost-device
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-09-23 15:45:01 +03:00
Stefano Garzarella
a43108ef00
Cargo.lock: downgrade once_cell from 1.20.0 to 1.19.0
...
`cargo audit` warned about a yanked version of once_cell we are
using:
Crate: once_cell
Version: 1.20.0
Warning: yanked
Dependency tree:
once_cell 1.20.0
├── which 4.4.2
│ └── bindgen 0.63.0
│ └── libgpiod-sys 0.1.1
│ └── libgpiod 0.2.1
│ └── vhost-device-gpio 0.1.0
├── tempfile 3.12.0
│ ├── vhost-device-vsock 0.2.0
│ ├── vhost-device-sound 0.2.0
│ ├── vhost-device-scsi 0.1.0
│ ├── vhost-device-rng 0.1.0
│ └── vhost-device-input 0.1.0
└── pipewire 0.8.0
└── vhost-device-sound 0.2.0
Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
2024-09-20 17:50:18 +02:00
dependabot[bot]
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>
2024-09-17 10:29:02 +02:00
Dorjoy Chowdhury
cec57c9433
vsock: Skip tests causing CI failure
...
Some new tests added in the previous commit fail in CI due to missing
support for AF_VSOCK. The tests are now skipped when we detect that
AF_VSOCK is not available.
Signed-off-by: Dorjoy Chowdhury <dorjoychy111@gmail.com>
2024-09-05 12:09:50 +02:00
Dorjoy Chowdhury
8646373e96
vsock: Support for vsock backend
...
This commit adds support for proxying the communication with a VM
using vsock, similar to already existing support using unix domain
socket through the uds-path option. Two new options have been
introduced:
- forward-cid
- forward-listen
The forward-cid option (u32) allows users to specify the CID to which
all the connections from the VM should be forwarded to, regardless of
the target CID of those connections. Users would typically forward to
CID 1 i.e., the host machine.
The forward-listen option (string) is a list of ports separated by '+'
for forwarding connections from the host machine to the VM.
Signed-off-by: Dorjoy Chowdhury <dorjoychy111@gmail.com>
2024-09-05 12:09:50 +02:00
Dorjoy Chowdhury
1e670ff1b5
vsock: Introduce enum types for UDS backend
...
Right now, vhost-device-vsock supports only unix domain socket as
backend. The following commit will add support for vsock backend.
This is a preparation commit wrapping the unix domain socket related
stuff in enum types so that the following commit can extend on that
for vsock backend support.
Signed-off-by: Dorjoy Chowdhury <dorjoychy111@gmail.com>
2024-09-05 12:09:50 +02:00
dependabot[bot]
97f0755195
build(deps): bump the vhost-device group with 5 updates
...
Bumps the vhost-device group with 5 updates:
| Package | From | To |
| --- | --- | --- |
| [bytemuck](https://github.com/Lokathor/bytemuck ) | `1.17.0` | `1.17.1` |
| [cc](https://github.com/rust-lang/cc-rs ) | `1.1.14` | `1.1.15` |
| [indexmap](https://github.com/indexmap-rs/indexmap ) | `2.4.0` | `2.5.0` |
| [rustc_version](https://github.com/djc/rustc-version-rs ) | `0.4.0` | `0.4.1` |
| [rustix](https://github.com/bytecodealliance/rustix ) | `0.38.34` | `0.38.35` |
Updates `bytemuck` from 1.17.0 to 1.17.1
- [Changelog](https://github.com/Lokathor/bytemuck/blob/main/changelog.md )
- [Commits](https://github.com/Lokathor/bytemuck/compare/v1.17.0...v1.17.1 )
Updates `cc` from 1.1.14 to 1.1.15
- [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.14...cc-v1.1.15 )
Updates `indexmap` from 2.4.0 to 2.5.0
- [Changelog](https://github.com/indexmap-rs/indexmap/blob/master/RELEASES.md )
- [Commits](https://github.com/indexmap-rs/indexmap/compare/2.4.0...2.5.0 )
Updates `rustc_version` from 0.4.0 to 0.4.1
- [Release notes](https://github.com/djc/rustc-version-rs/releases )
- [Commits](https://github.com/djc/rustc-version-rs/compare/v0.4.0...v0.4.1 )
Updates `rustix` from 0.38.34 to 0.38.35
- [Release notes](https://github.com/bytecodealliance/rustix/releases )
- [Commits](https://github.com/bytecodealliance/rustix/compare/v0.38.34...v0.38.35 )
---
updated-dependencies:
- dependency-name: bytemuck
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: indexmap
dependency-type: indirect
update-type: version-update:semver-minor
dependency-group: vhost-device
- dependency-name: rustc_version
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
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-09-02 09:23:41 +02:00
Timos Ampelikiotis
079d9024be
vhost-device-console: Add initial implementation
...
The device was tested with:
1) Upstream QEMU's vhost-user-device
qemu-system-x86_64 \
<normal QEMU options> \
-machine <machine options>,memory-backend=mem0 \
-object memory-backend-memfd,id=mem0,size=<Guest RAM size> \ # size == -m size
-chardev socket,id=con0,path=/tmp/console.sock0 \
-device vhost-user-device-pci,chardev=con0,virtio-id=3,num_vqs=4,config_size=12 \
...
2) A new QEMU vhost-user-console device which can be found in the following repo:
- https://github.com/virtualopensystems/qemu/tree/vhu-console-rfc
For more information, please check the README.md file under
staging/vhost-device-console/.
Co-authored-by: dorindabassey <53014273+dorindabassey@users.noreply.github.com>
Signed-off-by: Timos Ampelikiotis <t.ampelikiotis@virtualopensystems.com>
2024-08-29 17:11:30 +02:00
dependabot[bot]
f3d564fb60
build(deps): bump the vhost-device group with 6 updates
...
Bumps the vhost-device group with 6 updates:
| Package | From | To |
| --- | --- | --- |
| [alsa](https://github.com/diwic/alsa-rs ) | `0.9.0` | `0.9.1` |
| [serde](https://github.com/serde-rs/serde ) | `1.0.208` | `1.0.209` |
| [cc](https://github.com/rust-lang/cc-rs ) | `1.1.13` | `1.1.14` |
| [fastrand](https://github.com/smol-rs/fastrand ) | `2.1.0` | `2.1.1` |
| [quote](https://github.com/dtolnay/quote ) | `1.0.36` | `1.0.37` |
| [serde_derive](https://github.com/serde-rs/serde ) | `1.0.208` | `1.0.209` |
Updates `alsa` from 0.9.0 to 0.9.1
- [Commits](https://github.com/diwic/alsa-rs/compare/v0.9.0...v0.9.1 )
Updates `serde` from 1.0.208 to 1.0.209
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.208...v1.0.209 )
Updates `cc` from 1.1.13 to 1.1.14
- [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.13...cc-v1.1.14 )
Updates `fastrand` from 2.1.0 to 2.1.1
- [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.0...v2.1.1 )
Updates `quote` from 1.0.36 to 1.0.37
- [Release notes](https://github.com/dtolnay/quote/releases )
- [Commits](https://github.com/dtolnay/quote/compare/1.0.36...1.0.37 )
Updates `serde_derive` from 1.0.208 to 1.0.209
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.208...v1.0.209 )
---
updated-dependencies:
- dependency-name: alsa
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: vhost-device
- dependency-name: serde
dependency-type: direct:production
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: fastrand
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: serde_derive
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: vhost-device
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-08-26 10:59:56 +05:30
dependabot[bot]
e89844dc39
build(deps): bump the vhost-device group in /staging with 5 updates
...
Bumps the vhost-device group in /staging with 5 updates:
| Package | From | To |
| --- | --- | --- |
| [libc](https://github.com/rust-lang/libc ) | `0.2.157` | `0.2.158` |
| [fastrand](https://github.com/smol-rs/fastrand ) | `2.1.0` | `2.1.1` |
| [quote](https://github.com/dtolnay/quote ) | `1.0.36` | `1.0.37` |
| [serde](https://github.com/serde-rs/serde ) | `1.0.208` | `1.0.209` |
| [serde_derive](https://github.com/serde-rs/serde ) | `1.0.208` | `1.0.209` |
Updates `libc` from 0.2.157 to 0.2.158
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Changelog](https://github.com/rust-lang/libc/blob/0.2.158/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.157...0.2.158 )
Updates `fastrand` from 2.1.0 to 2.1.1
- [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.0...v2.1.1 )
Updates `quote` from 1.0.36 to 1.0.37
- [Release notes](https://github.com/dtolnay/quote/releases )
- [Commits](https://github.com/dtolnay/quote/compare/1.0.36...1.0.37 )
Updates `serde` from 1.0.208 to 1.0.209
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.208...v1.0.209 )
Updates `serde_derive` from 1.0.208 to 1.0.209
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.208...v1.0.209 )
---
updated-dependencies:
- dependency-name: libc
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: vhost-device
- dependency-name: fastrand
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: serde
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
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-08-26 10:43:47 +05:30
dependabot[bot]
974d949cc4
build(deps): bump the vhost-device group across 1 directory with 8 updates
...
Bumps the vhost-device group with 6 updates in the / directory:
| Package | From | To |
| --- | --- | --- |
| [clap](https://github.com/clap-rs/clap ) | `4.5.13` | `4.5.16` |
| [libc](https://github.com/rust-lang/libc ) | `0.2.155` | `0.2.158` |
| [serde](https://github.com/serde-rs/serde ) | `1.0.206` | `1.0.208` |
| [bytemuck](https://github.com/Lokathor/bytemuck ) | `1.16.3` | `1.17.0` |
| [cc](https://github.com/rust-lang/cc-rs ) | `1.1.10` | `1.1.13` |
| [indexmap](https://github.com/indexmap-rs/indexmap ) | `2.3.0` | `2.4.0` |
Updates `clap` from 4.5.13 to 4.5.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/clap_complete-v4.5.13...clap_complete-v4.5.16 )
Updates `libc` from 0.2.155 to 0.2.158
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Changelog](https://github.com/rust-lang/libc/blob/0.2.158/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.155...0.2.158 )
Updates `serde` from 1.0.206 to 1.0.208
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.206...v1.0.208 )
Updates `bytemuck` from 1.16.3 to 1.17.0
- [Changelog](https://github.com/Lokathor/bytemuck/blob/main/changelog.md )
- [Commits](https://github.com/Lokathor/bytemuck/compare/v1.16.3...v1.17.0 )
Updates `cc` from 1.1.10 to 1.1.13
- [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.10...cc-v1.1.13 )
Updates `clap_builder` from 4.5.13 to 4.5.15
- [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.13...v4.5.15 )
Updates `indexmap` from 2.3.0 to 2.4.0
- [Changelog](https://github.com/indexmap-rs/indexmap/blob/master/RELEASES.md )
- [Commits](https://github.com/indexmap-rs/indexmap/compare/2.3.0...2.4.0 )
Updates `serde_derive` from 1.0.206 to 1.0.208
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.206...v1.0.208 )
---
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: serde
dependency-type: direct:production
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: indexmap
dependency-type: indirect
update-type: version-update:semver-minor
dependency-group: vhost-device
- dependency-name: serde_derive
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: vhost-device
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-08-20 08:20:09 +05:30
dependabot[bot]
b6e46d771b
build(deps): bump the vhost-device group in /staging with 5 updates
...
Bumps the vhost-device group in /staging with 5 updates:
| Package | From | To |
| --- | --- | --- |
| [clap](https://github.com/clap-rs/clap ) | `4.5.15` | `4.5.16` |
| [libc](https://github.com/rust-lang/libc ) | `0.2.155` | `0.2.157` |
| [indexmap](https://github.com/indexmap-rs/indexmap ) | `2.3.0` | `2.4.0` |
| [serde](https://github.com/serde-rs/serde ) | `1.0.206` | `1.0.208` |
| [serde_derive](https://github.com/serde-rs/serde ) | `1.0.206` | `1.0.208` |
Updates `clap` from 4.5.15 to 4.5.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/clap_complete-v4.5.15...clap_complete-v4.5.16 )
Updates `libc` from 0.2.155 to 0.2.157
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Changelog](https://github.com/rust-lang/libc/blob/0.2.157/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.155...0.2.157 )
Updates `indexmap` from 2.3.0 to 2.4.0
- [Changelog](https://github.com/indexmap-rs/indexmap/blob/master/RELEASES.md )
- [Commits](https://github.com/indexmap-rs/indexmap/compare/2.3.0...2.4.0 )
Updates `serde` from 1.0.206 to 1.0.208
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.206...v1.0.208 )
Updates `serde_derive` from 1.0.206 to 1.0.208
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.206...v1.0.208 )
---
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: indexmap
dependency-type: indirect
update-type: version-update:semver-minor
dependency-group: vhost-device
- dependency-name: serde
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
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-08-20 08:12:36 +05:30
dependabot[bot]
e026097f5b
build(deps): bump the vhost-device group across 1 directory with 26 updates
...
Bumps the vhost-device group with 22 updates in the / directory:
| Package | From | To |
| --- | --- | --- |
| [clap](https://github.com/clap-rs/clap ) | `4.5.9` | `4.5.13` |
| [env_logger](https://github.com/rust-cli/env_logger ) | `0.11.3` | `0.11.5` |
| [tempfile](https://github.com/Stebalien/tempfile ) | `3.10.1` | `3.12.0` |
| [num_enum](https://github.com/illicitonion/num_enum ) | `0.7.2` | `0.7.3` |
| [bitflags](https://github.com/bitflags/bitflags ) | `2.4.1` | `2.6.0` |
| [serde](https://github.com/serde-rs/serde ) | `1.0.204` | `1.0.206` |
| [anstream](https://github.com/rust-cli/anstyle ) | `0.6.14` | `0.6.15` |
| [anstyle](https://github.com/rust-cli/anstyle ) | `1.0.7` | `1.0.8` |
| [anstyle-parse](https://github.com/rust-cli/anstyle ) | `0.2.4` | `0.2.5` |
| [anstyle-query](https://github.com/rust-cli/anstyle ) | `1.1.0` | `1.1.1` |
| [anstyle-wincon](https://github.com/rust-cli/anstyle ) | `3.0.3` | `3.0.4` |
| [cc](https://github.com/rust-lang/cc-rs ) | `1.1.6` | `1.1.10` |
| [clap_lex](https://github.com/clap-rs/clap ) | `0.7.1` | `0.7.2` |
| [colorchoice](https://github.com/rust-cli/anstyle ) | `1.0.1` | `1.0.2` |
| [env_filter](https://github.com/rust-cli/env_logger ) | `0.1.0` | `0.1.2` |
| [indexmap](https://github.com/indexmap-rs/indexmap ) | `2.2.6` | `2.3.0` |
| [is_terminal_polyfill](https://github.com/polyfill-rs/is_terminal_polyfill ) | `1.70.0` | `1.70.1` |
| [ppv-lite86](https://github.com/cryptocorrosion/cryptocorrosion ) | `0.2.17` | `0.2.20` |
| [regex](https://github.com/rust-lang/regex ) | `1.10.5` | `1.10.6` |
| [serde_spanned](https://github.com/toml-rs/toml ) | `0.6.6` | `0.6.7` |
| [target-lexicon](https://github.com/bytecodealliance/target-lexicon ) | `0.12.15` | `0.12.16` |
| [version_check](https://github.com/SergioBenitez/version_check ) | `0.9.4` | `0.9.5` |
Updates `clap` from 4.5.9 to 4.5.13
- [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.9...clap_complete-v4.5.13 )
Updates `env_logger` from 0.11.3 to 0.11.5
- [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.3...v0.11.5 )
Updates `tempfile` from 3.10.1 to 3.12.0
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Stebalien/tempfile/commits )
Updates `num_enum` from 0.7.2 to 0.7.3
- [Commits](https://github.com/illicitonion/num_enum/compare/0.7.2...0.7.3 )
Updates `bitflags` from 2.4.1 to 2.6.0
- [Release notes](https://github.com/bitflags/bitflags/releases )
- [Changelog](https://github.com/bitflags/bitflags/blob/main/CHANGELOG.md )
- [Commits](https://github.com/bitflags/bitflags/compare/2.4.1...2.6.0 )
Updates `serde` from 1.0.204 to 1.0.206
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.204...v1.0.206 )
Updates `anstream` from 0.6.14 to 0.6.15
- [Commits](https://github.com/rust-cli/anstyle/compare/anstream-v0.6.14...anstream-v0.6.15 )
Updates `anstyle` from 1.0.7 to 1.0.8
- [Commits](https://github.com/rust-cli/anstyle/compare/v1.0.7...v1.0.8 )
Updates `anstyle-parse` from 0.2.4 to 0.2.5
- [Commits](https://github.com/rust-cli/anstyle/compare/anstyle-parse-v0.2.4...anstyle-parse-v0.2.5 )
Updates `anstyle-query` from 1.1.0 to 1.1.1
- [Commits](https://github.com/rust-cli/anstyle/compare/anstyle-query-v1.1.0...anstyle-query-v1.1.1 )
Updates `anstyle-wincon` from 3.0.3 to 3.0.4
- [Commits](https://github.com/rust-cli/anstyle/compare/anstyle-wincon-v3.0.3...anstyle-wincon-v3.0.4 )
Updates `cc` from 1.1.6 to 1.1.10
- [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.6...cc-v1.1.10 )
Updates `clap_builder` from 4.5.9 to 4.5.13
- [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.9...v4.5.13 )
Updates `clap_derive` from 4.5.8 to 4.5.13
- [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.8...v4.5.13 )
Updates `clap_lex` from 0.7.1 to 0.7.2
- [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.1...clap_lex-v0.7.2 )
Updates `colorchoice` from 1.0.1 to 1.0.2
- [Commits](https://github.com/rust-cli/anstyle/compare/colorchoice-v1.0.1...colorchoice-v1.0.2 )
Updates `env_filter` from 0.1.0 to 0.1.2
- [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.0...env_filter-v0.1.2 )
Updates `indexmap` from 2.2.6 to 2.3.0
- [Changelog](https://github.com/indexmap-rs/indexmap/blob/master/RELEASES.md )
- [Commits](https://github.com/indexmap-rs/indexmap/compare/2.2.6...2.3.0 )
Updates `is_terminal_polyfill` from 1.70.0 to 1.70.1
- [Changelog](https://github.com/polyfill-rs/is_terminal_polyfill/blob/main-v1.70/CHANGELOG.md )
- [Commits](https://github.com/polyfill-rs/is_terminal_polyfill/compare/v1.70.0...v1.70.1 )
Updates `num_enum_derive` from 0.7.2 to 0.7.3
- [Commits](https://github.com/illicitonion/num_enum/compare/0.7.2...0.7.3 )
Updates `ppv-lite86` from 0.2.17 to 0.2.20
- [Commits](https://github.com/cryptocorrosion/cryptocorrosion/commits )
Updates `regex` from 1.10.5 to 1.10.6
- [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.10.5...1.10.6 )
Updates `serde_derive` from 1.0.204 to 1.0.206
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.204...v1.0.206 )
Updates `serde_spanned` from 0.6.6 to 0.6.7
- [Commits](https://github.com/toml-rs/toml/compare/serde_spanned-v0.6.6...serde_spanned-v0.6.7 )
Updates `target-lexicon` from 0.12.15 to 0.12.16
- [Commits](https://github.com/bytecodealliance/target-lexicon/compare/v0.12.15...v0.12.16 )
Updates `version_check` from 0.9.4 to 0.9.5
- [Commits](https://github.com/SergioBenitez/version_check/compare/v0.9.4...v0.9.5 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: vhost-device
- dependency-name: env_logger
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: num_enum
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: vhost-device
- dependency-name: bitflags
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: 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: clap_derive
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: vhost-device
- dependency-name: clap_lex
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: env_filter
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: vhost-device
- dependency-name: indexmap
dependency-type: indirect
update-type: version-update:semver-minor
dependency-group: vhost-device
- dependency-name: is_terminal_polyfill
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: vhost-device
- dependency-name: num_enum_derive
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: vhost-device
- dependency-name: ppv-lite86
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: 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: target-lexicon
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: vhost-device
- dependency-name: version_check
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: vhost-device
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-08-12 12:00:05 +05:30
dependabot[bot]
bcff2869f9
build(deps): bump rust-vmm-ci from 9f641f2 to 5e818dc
...
Bumps [rust-vmm-ci](https://github.com/rust-vmm/rust-vmm-ci ) from `9f641f2` to `5e818dc`.
- [Commits](9f641f269b...5e818dc729 )
---
updated-dependencies:
- dependency-name: rust-vmm-ci
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-08-12 10:28:52 +05:30
dependabot[bot]
6ea67f2bea
build(deps): bump the vhost-device group in /staging with 5 updates
...
Bumps the vhost-device group in /staging with 5 updates:
| Package | From | To |
| --- | --- | --- |
| [clap](https://github.com/clap-rs/clap ) | `4.5.13` | `4.5.15` |
| [tempfile](https://github.com/Stebalien/tempfile ) | `3.11.0` | `3.12.0` |
| [clap_builder](https://github.com/clap-rs/clap ) | `4.5.13` | `4.5.15` |
| [serde](https://github.com/serde-rs/serde ) | `1.0.204` | `1.0.206` |
| [serde_derive](https://github.com/serde-rs/serde ) | `1.0.204` | `1.0.206` |
Updates `clap` from 4.5.13 to 4.5.15
- [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.13...v4.5.15 )
Updates `tempfile` from 3.11.0 to 3.12.0
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Stebalien/tempfile/commits )
Updates `clap_builder` from 4.5.13 to 4.5.15
- [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.13...v4.5.15 )
Updates `serde` from 1.0.204 to 1.0.206
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.204...v1.0.206 )
Updates `serde_derive` from 1.0.204 to 1.0.206
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.204...v1.0.206 )
---
updated-dependencies:
- dependency-name: clap
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: clap_builder
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: vhost-device
- dependency-name: serde
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
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-08-12 10:23:25 +05:30
dependabot[bot]
993d6f2101
build(deps): bump the vhost-device group in /staging with 14 updates
...
Bumps the vhost-device group in /staging with 14 updates:
| Package | From | To |
| --- | --- | --- |
| [clap](https://github.com/clap-rs/clap ) | `4.5.11` | `4.5.13` |
| [num_enum](https://github.com/illicitonion/num_enum ) | `0.7.2` | `0.7.3` |
| [rstest](https://github.com/la10736/rstest ) | `0.21.0` | `0.22.0` |
| [tempfile](https://github.com/Stebalien/tempfile ) | `3.10.1` | `3.11.0` |
| [clap_builder](https://github.com/clap-rs/clap ) | `4.5.11` | `4.5.13` |
| [clap_derive](https://github.com/clap-rs/clap ) | `4.5.11` | `4.5.13` |
| [enumn](https://github.com/dtolnay/enumn ) | `0.1.13` | `0.1.14` |
| [indexmap](https://github.com/indexmap-rs/indexmap ) | `2.2.6` | `2.3.0` |
| [nix](https://github.com/nix-rust/nix ) | `0.27.1` | `0.26.4` |
| [num_enum_derive](https://github.com/illicitonion/num_enum ) | `0.7.2` | `0.7.3` |
| [regex](https://github.com/rust-lang/regex ) | `1.10.5` | `1.10.6` |
| [rstest_macros](https://github.com/la10736/rstest ) | `0.21.0` | `0.22.0` |
| [syn](https://github.com/dtolnay/syn ) | `2.0.72` | `1.0.109` |
| [toml_datetime](https://github.com/toml-rs/toml ) | `0.6.7` | `0.6.8` |
Updates `clap` from 4.5.11 to 4.5.13
- [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.11...v4.5.13 )
Updates `num_enum` from 0.7.2 to 0.7.3
- [Commits](https://github.com/illicitonion/num_enum/compare/0.7.2...0.7.3 )
Updates `rstest` from 0.21.0 to 0.22.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.21.0...v0.22.0 )
Updates `tempfile` from 3.10.1 to 3.11.0
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Stebalien/tempfile/compare/v3.10.1...v3.11.0 )
Updates `clap_builder` from 4.5.11 to 4.5.13
- [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.11...v4.5.13 )
Updates `clap_derive` from 4.5.11 to 4.5.13
- [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.11...v4.5.13 )
Updates `enumn` from 0.1.13 to 0.1.14
- [Release notes](https://github.com/dtolnay/enumn/releases )
- [Commits](https://github.com/dtolnay/enumn/compare/0.1.13...0.1.14 )
Updates `indexmap` from 2.2.6 to 2.3.0
- [Changelog](https://github.com/indexmap-rs/indexmap/blob/master/RELEASES.md )
- [Commits](https://github.com/indexmap-rs/indexmap/compare/2.2.6...2.3.0 )
Updates `nix` from 0.27.1 to 0.26.4
- [Changelog](https://github.com/nix-rust/nix/blob/v0.26.4/CHANGELOG.md )
- [Commits](https://github.com/nix-rust/nix/compare/v0.27.1...v0.26.4 )
Updates `num_enum_derive` from 0.7.2 to 0.7.3
- [Commits](https://github.com/illicitonion/num_enum/compare/0.7.2...0.7.3 )
Updates `regex` from 1.10.5 to 1.10.6
- [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.10.5...1.10.6 )
Updates `rstest_macros` from 0.21.0 to 0.22.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.21.0...v0.22.0 )
Updates `syn` from 2.0.72 to 1.0.109
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/2.0.72...1.0.109 )
Updates `toml_datetime` from 0.6.7 to 0.6.8
- [Commits](https://github.com/toml-rs/toml/compare/toml_datetime-v0.6.7...toml_datetime-v0.6.8 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: vhost-device
- dependency-name: num_enum
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: vhost-device
- dependency-name: rstest
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: vhost-device
- dependency-name: tempfile
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: vhost-device
- dependency-name: clap_builder
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: enumn
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: vhost-device
- dependency-name: indexmap
dependency-type: indirect
update-type: version-update:semver-minor
dependency-group: vhost-device
- dependency-name: nix
dependency-type: indirect
update-type: version-update:semver-minor
dependency-group: vhost-device
- dependency-name: num_enum_derive
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: rstest_macros
dependency-type: indirect
update-type: version-update:semver-minor
dependency-group: vhost-device
- dependency-name: syn
dependency-type: indirect
update-type: version-update:semver-major
dependency-group: vhost-device
- dependency-name: toml_datetime
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: vhost-device
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-08-05 11:46:17 +05:30
Timos Ampelikiotis
42fa1204ec
vhost-device-can: Add initial implementation
...
This implementation supports the exchange of CAN/CANFD messages
virtual ("vcan") and real HW CAN device ("can0"). It was tested with:
a) virtio-can driver found in the following patch serie:
- https://lwn.net/Articles/934187/
b) QEMU's vhost-user-can device:
1) Option 1: Upstream QEMU's vhost-user-device
qemu-system-x86_64 \
-m 4096 \
-numa node,memdev=mem \
-object memory-backend-file,id=mem,size=4G,mem-path=/dev/shm,share=on \
-chardev socket,id=char1,path=/tmp/can.sock \
-device vhost-user-device-pci,chardev=char1,virtio-id=36,num_vqs=3,config_size=16 \
...
2) Option 2: A new QEMU vhost-user-can device can be found in the
following repo:
- https://github.com/virtualopensystems/qemu/tree/vhu-can-rfc
For more information, please check the README.md file under
"staging/vhost-device-can/".
Signed-off-by: Timos Ampelikiotis <t.ampelikiotis@virtualopensystems.com>
2024-08-02 09:34:25 +02:00
Stefano Garzarella
f0fe2b5a30
Cargo.lock: update bytemuck to 1.16.3
...
Cargo audit complains about yanked version of `bytemuck`:
Crate: bytemuck
Version: 1.16.1
Warning: yanked
Dependency tree:
bytemuck 1.16.1
└── atomic 0.6.0
└── figment 0.10.19
└── vhost-device-vsock 0.2.0
Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
2024-07-31 19:48:07 +05:30
Stefano Garzarella
45a9f62551
spi: fix changelog format
...
Let's follow the format of other crates as we did with commit
ed0f98e ("chore: standardize changelogs")
Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
2024-07-30 19:03:28 +05:30
Haixu Cui
d12bf9886d
vhost-device-spi: Add initial implementation
...
This program is a vhost-user backend that emulates a VirtIO SPI bus.
This program takes the layout of the spi bus and its devices on the host
OS and then talks to them via the /dev/spidevX.Y interface when a request
comes from the guest OS for a SPI device.
The implementation corresponds with the specification:
https://github.com/oasis-tcs/virtio-spec/tree/virtio-1.4/device-types/spi
Signed-off-by: Haixu Cui <quic_haixcui@quicinc.com>
2024-07-29 09:51:40 +02:00
dependabot[bot]
7efcb34b88
build(deps): bump rust-vmm-ci from 0503867 to 9f641f2
...
Bumps [rust-vmm-ci](https://github.com/rust-vmm/rust-vmm-ci ) from `0503867` to `9f641f2`.
- [Commits](05038671bb...9f641f269b )
---
updated-dependencies:
- dependency-name: rust-vmm-ci
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-07-29 10:31:53 +05:30
dependabot[bot]
d073d220b6
build(deps): bump the vhost-device group in /staging with 14 updates
...
Bumps the vhost-device group in /staging with 14 updates:
| Package | From | To |
| --- | --- | --- |
| [clap](https://github.com/clap-rs/clap ) | `4.5.9` | `4.5.11` |
| [env_logger](https://github.com/rust-cli/env_logger ) | `0.11.3` | `0.11.5` |
| [anstream](https://github.com/rust-cli/anstyle ) | `0.6.14` | `0.6.15` |
| [anstyle](https://github.com/rust-cli/anstyle ) | `1.0.7` | `1.0.8` |
| [anstyle-parse](https://github.com/rust-cli/anstyle ) | `0.2.4` | `0.2.5` |
| [anstyle-query](https://github.com/rust-cli/anstyle ) | `1.1.0` | `1.1.1` |
| [anstyle-wincon](https://github.com/rust-cli/anstyle ) | `3.0.3` | `3.0.4` |
| [clap_builder](https://github.com/clap-rs/clap ) | `4.5.9` | `4.5.11` |
| [clap_derive](https://github.com/clap-rs/clap ) | `4.5.8` | `4.5.11` |
| [clap_lex](https://github.com/clap-rs/clap ) | `0.7.1` | `0.7.2` |
| [colorchoice](https://github.com/rust-cli/anstyle ) | `1.0.1` | `1.0.2` |
| [env_filter](https://github.com/rust-cli/env_logger ) | `0.1.0` | `0.1.2` |
| [is_terminal_polyfill](https://github.com/polyfill-rs/is_terminal_polyfill ) | `1.70.0` | `1.70.1` |
| [toml_datetime](https://github.com/toml-rs/toml ) | `0.6.6` | `0.6.7` |
Updates `clap` from 4.5.9 to 4.5.11
- [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.9...clap_complete-v4.5.11 )
Updates `env_logger` from 0.11.3 to 0.11.5
- [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.3...v0.11.5 )
Updates `anstream` from 0.6.14 to 0.6.15
- [Commits](https://github.com/rust-cli/anstyle/compare/anstream-v0.6.14...anstream-v0.6.15 )
Updates `anstyle` from 1.0.7 to 1.0.8
- [Commits](https://github.com/rust-cli/anstyle/compare/v1.0.7...v1.0.8 )
Updates `anstyle-parse` from 0.2.4 to 0.2.5
- [Commits](https://github.com/rust-cli/anstyle/compare/anstyle-parse-v0.2.4...anstyle-parse-v0.2.5 )
Updates `anstyle-query` from 1.1.0 to 1.1.1
- [Commits](https://github.com/rust-cli/anstyle/compare/anstyle-query-v1.1.0...anstyle-query-v1.1.1 )
Updates `anstyle-wincon` from 3.0.3 to 3.0.4
- [Commits](https://github.com/rust-cli/anstyle/compare/anstyle-wincon-v3.0.3...anstyle-wincon-v3.0.4 )
Updates `clap_builder` from 4.5.9 to 4.5.11
- [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.9...v4.5.11 )
Updates `clap_derive` from 4.5.8 to 4.5.11
- [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.8...v4.5.11 )
Updates `clap_lex` from 0.7.1 to 0.7.2
- [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.1...clap_lex-v0.7.2 )
Updates `colorchoice` from 1.0.1 to 1.0.2
- [Commits](https://github.com/rust-cli/anstyle/compare/colorchoice-v1.0.1...colorchoice-v1.0.2 )
Updates `env_filter` from 0.1.0 to 0.1.2
- [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.0...env_filter-v0.1.2 )
Updates `is_terminal_polyfill` from 1.70.0 to 1.70.1
- [Changelog](https://github.com/polyfill-rs/is_terminal_polyfill/blob/main-v1.70/CHANGELOG.md )
- [Commits](https://github.com/polyfill-rs/is_terminal_polyfill/compare/v1.70.0...v1.70.1 )
Updates `toml_datetime` from 0.6.6 to 0.6.7
- [Commits](https://github.com/toml-rs/toml/compare/toml_datetime-v0.6.6...toml_datetime-v0.6.7 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: vhost-device
- dependency-name: env_logger
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: clap_builder
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: clap_lex
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: env_filter
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: vhost-device
- dependency-name: is_terminal_polyfill
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: vhost-device
- dependency-name: toml_datetime
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: vhost-device
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-07-29 10:27:21 +05:30
Milan Zamazal
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>
2024-07-25 12:49:58 +03:00
Sandro Bonazzola
c5ae1f38f2
vsock: add mdoc page
...
Co-authored-by: Manos Pitsidianakis <manos@pitsidianak.is>
Signed-off-by: Sandro Bonazzola <sbonazzo@redhat.com>
2024-07-24 20:10:48 +03:00
Stefano Garzarella
ed0f98e442
chore: standardize changelogs
...
Resolve small differences between our changelogs and fix small problems.
Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
2024-07-24 19:37:19 +05:30
Dorinda Bassey
1e6667fbba
vsock: Prepare version 0.2.0 release
...
Update changelog and Cargo.toml to version 0.2.0
Closes #688
Signed-off-by: Dorinda Bassey <dbassey@redhat.com>
2024-07-23 12:50:30 +02:00
Sergio Lopez
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>
2024-07-23 09:20:34 +02:00
Matias Ezequiel Vara Larsen
8ca48ad867
sound: remove unused errors
...
This commits removes error that were unused. These errors correspond
with the accesing to descriptors which is now done through Reader/Writer
modules.
Signed-off-by: Matias Ezequiel Vara Larsen <mvaralar@redhat.com>
2024-07-22 13:50:40 +02:00
Matias Ezequiel Vara Larsen
2f3b0b1f38
sound: Use Reader/Writer for tx/rx queue
...
This commit makes the handling of the tx/rx to rely on the Reader/Writer
modules. The commit also fixes the tests at streams.rs and replaces the
naming buffer for request. The coverage is also updated.
Signed-off-by: Matias Ezequiel Vara Larsen <mvaralar@redhat.com>
2024-07-22 13:50:40 +02:00
Matias Ezequiel Vara Larsen
134306c94c
sound: Use descriptor_utils.rs to manipulate requests
...
This commit makes device.rs to use descriptor_utils.rs API to read/write
requests independent of the descriptor distribution. The commit only
changes the parsing of requests in the control queue and fix the tests.
Signed-off-by: Matias Ezequiel Vara Larsen <mvaralar@redhat.com>
2024-07-22 13:50:40 +02:00
Dorinda Bassey
d6a10d7565
vsock: Replace the config Crate with figment
...
The config crate, which was previously used in vsock is no longer
maintained. To ensure continued support and improvement, the
figment crate is used as a replacement for configuration management.
Closes #639
Signed-off-by: Dorinda Bassey <dbassey@redhat.com>
2024-07-22 12:50:46 +02:00
Dorinda Bassey
b7f15e31e7
vsock: rename variable for clarity
...
in order to improve code readability, rename variable
to be more descriptive
Signed-off-by: Dorinda Bassey <dbassey@redhat.com>
2024-07-22 12:50:46 +02:00
dependabot[bot]
38151e08ae
build(deps): bump the vhost-device group with 4 updates
...
Bumps the vhost-device group with 4 updates: [thiserror](https://github.com/dtolnay/thiserror ), [cc](https://github.com/rust-lang/cc-rs ), [libloading](https://github.com/nagisa/rust_libloading ) and [thiserror-impl](https://github.com/dtolnay/thiserror ).
Updates `thiserror` from 1.0.62 to 1.0.63
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.62...1.0.63 )
Updates `cc` from 1.1.5 to 1.1.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.1.5...cc-v1.1.6 )
Updates `libloading` from 0.8.4 to 0.8.5
- [Commits](https://github.com/nagisa/rust_libloading/compare/0.8.4...0.8.5 )
Updates `thiserror-impl` from 1.0.62 to 1.0.63
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.62...1.0.63 )
---
updated-dependencies:
- dependency-name: thiserror
dependency-type: direct:production
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: libloading
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>
2024-07-22 07:23:16 +02:00
dependabot[bot]
097fa923be
build(deps): bump the vhost-device group in /staging with 3 updates
...
Bumps the vhost-device group in /staging with 3 updates: [thiserror](https://github.com/dtolnay/thiserror ), [syn](https://github.com/dtolnay/syn ) and [thiserror-impl](https://github.com/dtolnay/thiserror ).
Updates `thiserror` from 1.0.62 to 1.0.63
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.62...1.0.63 )
Updates `syn` from 2.0.71 to 2.0.72
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/2.0.71...2.0.72 )
Updates `thiserror-impl` from 1.0.62 to 1.0.63
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.62...1.0.63 )
---
updated-dependencies:
- dependency-name: thiserror
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: vhost-device
- dependency-name: syn
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>
2024-07-22 07:22:44 +02:00
Matias Ezequiel Vara Larsen
1f3b35d7ae
sound: Prepare v0.2.0 release
...
Update changelog and Cargo.toml to v0.2.0
Signed-off-by: Matias Ezequiel Vara Larsen <mvaralar@redhat.com>
2024-07-17 12:28:59 +03:00
dependabot[bot]
cf4ccb7381
build(deps): bump the vhost-device group in /staging with 5 updates
...
Bumps the vhost-device group in /staging with 5 updates:
| Package | From | To |
| --- | --- | --- |
| [clap](https://github.com/clap-rs/clap ) | `4.5.8` | `4.5.9` |
| [thiserror](https://github.com/dtolnay/thiserror ) | `1.0.61` | `1.0.62` |
| [clap_builder](https://github.com/clap-rs/clap ) | `4.5.8` | `4.5.9` |
| [syn](https://github.com/dtolnay/syn ) | `2.0.69` | `2.0.71` |
| [thiserror-impl](https://github.com/dtolnay/thiserror ) | `1.0.61` | `1.0.62` |
Updates `clap` from 4.5.8 to 4.5.9
- [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.8...v4.5.9 )
Updates `thiserror` from 1.0.61 to 1.0.62
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.61...1.0.62 )
Updates `clap_builder` from 4.5.8 to 4.5.9
- [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.8...v4.5.9 )
Updates `syn` from 2.0.69 to 2.0.71
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/2.0.69...2.0.71 )
Updates `thiserror-impl` from 1.0.61 to 1.0.62
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.61...1.0.62 )
---
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: clap_builder
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: vhost-device
- dependency-name: syn
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>
2024-07-15 09:38:35 +02:00
dependabot[bot]
92117113dc
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.5.8` | `4.5.9` |
| [thiserror](https://github.com/dtolnay/thiserror ) | `1.0.61` | `1.0.62` |
| [cc](https://github.com/rust-lang/cc-rs ) | `1.0.105` | `1.1.5` |
| [clap_builder](https://github.com/clap-rs/clap ) | `4.5.8` | `4.5.9` |
| [target-lexicon](https://github.com/bytecodealliance/target-lexicon ) | `0.12.14` | `0.12.15` |
| [thiserror-impl](https://github.com/dtolnay/thiserror ) | `1.0.61` | `1.0.62` |
Updates `clap` from 4.5.8 to 4.5.9
- [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.8...v4.5.9 )
Updates `thiserror` from 1.0.61 to 1.0.62
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.61...1.0.62 )
Updates `cc` from 1.0.105 to 1.1.5
- [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.0.105...cc-v1.1.5 )
Updates `clap_builder` from 4.5.8 to 4.5.9
- [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.8...v4.5.9 )
Updates `target-lexicon` from 0.12.14 to 0.12.15
- [Commits](https://github.com/bytecodealliance/target-lexicon/compare/v0.12.14...v0.12.15 )
Updates `thiserror-impl` from 1.0.61 to 1.0.62
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.61...1.0.62 )
---
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: cc
dependency-type: indirect
update-type: version-update:semver-minor
dependency-group: vhost-device
- dependency-name: clap_builder
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: thiserror-impl
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: vhost-device
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-07-15 10:37:47 +03:00
Dorjoy Chowdhury
f7724bf8ec
vhost-device-vsock: change default vring queue size to 1024
...
Although increasing queue size from 256 to 1024 increases the memory
usage of vhost-device-vsock, 1024 is a reasonable default which should
make vhost-device-vsock work by default (i.e., without using the
queue-size option) with devices that use vring queue size up to 1024
such as QEMU's vhost-user-vsock-device.
If Users require greater or smaller queue size, they can use the
'queue-size' option to configure the queue size.
Signed-off-by: Dorjoy Chowdhury <dorjoychy111@gmail.com>
2024-07-10 17:14:18 +03:00
Dorjoy Chowdhury
9d34131945
vhost-device-vsock: introduce queue-size option
...
The vring queue size was hardcoded to 256 which is problematic for
vsock devices that use a larger queue size. For example, when using
vhost-device-vsock with QEMU's vhost-user-vsock-device, the message
to set the vring queue size to 1024 causes an "InvalidParameter"
error from vhost-device-vsock. Making the queue size configurable
via an option makes it easy to use vhost-device-vsock where a larger
queue size is required.
Signed-off-by: Dorjoy Chowdhury <dorjoychy111@gmail.com>
2024-07-10 17:14:18 +03:00
dependabot[bot]
917fe09b81
build(deps): bump the vhost-device group in /staging with 10 updates
...
Bumps the vhost-device group in /staging with 10 updates:
| Package | From | To |
| --- | --- | --- |
| [syn](https://github.com/dtolnay/syn ) | `2.0.68` | `2.0.69` |
| [windows-targets](https://github.com/microsoft/windows-rs ) | `0.52.5` | `0.52.6` |
| [windows_aarch64_gnullvm](https://github.com/microsoft/windows-rs ) | `0.52.5` | `0.52.6` |
| [windows_aarch64_msvc](https://github.com/microsoft/windows-rs ) | `0.52.5` | `0.52.6` |
| [windows_i686_gnu](https://github.com/microsoft/windows-rs ) | `0.52.5` | `0.52.6` |
| [windows_i686_gnullvm](https://github.com/microsoft/windows-rs ) | `0.52.5` | `0.52.6` |
| [windows_i686_msvc](https://github.com/microsoft/windows-rs ) | `0.52.5` | `0.52.6` |
| [windows_x86_64_gnu](https://github.com/microsoft/windows-rs ) | `0.52.5` | `0.52.6` |
| [windows_x86_64_gnullvm](https://github.com/microsoft/windows-rs ) | `0.52.5` | `0.52.6` |
| [windows_x86_64_msvc](https://github.com/microsoft/windows-rs ) | `0.52.5` | `0.52.6` |
Updates `syn` from 2.0.68 to 2.0.69
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/2.0.68...2.0.69 )
Updates `windows-targets` from 0.52.5 to 0.52.6
- [Release notes](https://github.com/microsoft/windows-rs/releases )
- [Commits](https://github.com/microsoft/windows-rs/commits )
Updates `windows_aarch64_gnullvm` from 0.52.5 to 0.52.6
- [Release notes](https://github.com/microsoft/windows-rs/releases )
- [Commits](https://github.com/microsoft/windows-rs/commits )
Updates `windows_aarch64_msvc` from 0.52.5 to 0.52.6
- [Release notes](https://github.com/microsoft/windows-rs/releases )
- [Commits](https://github.com/microsoft/windows-rs/commits )
Updates `windows_i686_gnu` from 0.52.5 to 0.52.6
- [Release notes](https://github.com/microsoft/windows-rs/releases )
- [Commits](https://github.com/microsoft/windows-rs/commits )
Updates `windows_i686_gnullvm` from 0.52.5 to 0.52.6
- [Release notes](https://github.com/microsoft/windows-rs/releases )
- [Commits](https://github.com/microsoft/windows-rs/commits )
Updates `windows_i686_msvc` from 0.52.5 to 0.52.6
- [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.5 to 0.52.6
- [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.5 to 0.52.6
- [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.5 to 0.52.6
- [Release notes](https://github.com/microsoft/windows-rs/releases )
- [Commits](https://github.com/microsoft/windows-rs/commits )
---
updated-dependencies:
- dependency-name: syn
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_gnullvm
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>
2024-07-08 10:37:13 +05:30