Stefano Garzarella
63db2e8b41
Merge pull request #2 from dorindabassey/v_sound
...
sound: add PipeWire backend skeleton
2023-05-26 17:49:10 +02:00
Dorinda Bassey
05a959d703
sound: add PipeWire backend skeleton
...
to enable the pipewire backend feature, build with `--features pw-backend`
Signed-off-by: Dorinda Bassey <dbassey@redhat.com>
2023-05-26 17:44:05 +02:00
Stefano Garzarella
a198f48cde
sound: rename alloc_audio_backend
2023-05-19 18:19:47 +02:00
Stefano Garzarella
65f7c78dbd
sound: support --backend option
2023-05-19 18:16:21 +02:00
Stefano Garzarella
82660840ca
sound: add NullBackend skeleton
2023-05-19 18:11:14 +02:00
Stefano Garzarella
5e8fd650e9
sound: add AudioBackend trait
2023-05-19 18:11:14 +02:00
Stefano Garzarella
c3e2f6a4bc
Merge pull request #1 from dorindabassey/d_sound
...
virtio_sound.rs: Added device configuration and common definitions
2023-04-28 10:06:49 +02:00
Dorinda Bassey
16e927e10e
virtio_sound.rs: Added device configuration and common definitions
...
Added device configuration and common definitions from the
virtio sound specifications to the header file
Signed-off-by: Dorinda Bassey <dbassey@redhat.com>
2023-04-27 08:39:15 +02:00
Stefano Garzarella
2366b76718
sound: add missing files
2023-04-03 14:33:53 +02:00
Stefano Garzarella
b81c55fbe2
sound: code refactoring
2023-03-31 17:16:21 +02:00
Stefano Garzarella
8d3ebf35e1
sound: support multiple threads
2023-03-31 15:49:46 +02:00
Stefano Garzarella
72c31053ff
Revert "sound: use thread trait"
...
This reverts commit 3ac6c160c1 .
2023-03-31 12:05:58 +02:00
Stefano Garzarella
3ac6c160c1
sound: use thread trait
2023-03-30 20:56:42 +02:00
Stefano Garzarella
a1b49a76a7
sound: use interior mutability
2023-03-30 20:23:51 +02:00
Stefano Garzarella
0a78103b41
sound: initial commit
2023-03-30 18:47:15 +02:00
dependabot[bot]
a3427f5c34
build(deps): bump windows_aarch64_msvc from 0.42.1 to 0.42.2
...
Bumps [windows_aarch64_msvc](https://github.com/microsoft/windows-rs ) from 0.42.1 to 0.42.2.
- [Release notes](https://github.com/microsoft/windows-rs/releases )
- [Commits](https://github.com/microsoft/windows-rs/commits )
---
updated-dependencies:
- dependency-name: windows_aarch64_msvc
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-03-27 13:29:48 +05:30
dependabot[bot]
54f29fa041
build(deps): bump windows_x86_64_gnullvm from 0.42.1 to 0.42.2
...
Bumps [windows_x86_64_gnullvm](https://github.com/microsoft/windows-rs ) from 0.42.1 to 0.42.2.
- [Release notes](https://github.com/microsoft/windows-rs/releases )
- [Commits](https://github.com/microsoft/windows-rs/commits )
---
updated-dependencies:
- dependency-name: windows_x86_64_gnullvm
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-03-27 13:29:40 +05:30
dependabot[bot]
ea4754802e
build(deps): bump futures-task from 0.3.26 to 0.3.27
...
Bumps [futures-task](https://github.com/rust-lang/futures-rs ) from 0.3.26 to 0.3.27.
- [Release notes](https://github.com/rust-lang/futures-rs/releases )
- [Changelog](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/futures-rs/compare/0.3.26...0.3.27 )
---
updated-dependencies:
- dependency-name: futures-task
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-03-27 13:29:22 +05:30
dependabot[bot]
16a8f79d87
build(deps): bump io-lifetimes from 1.0.5 to 1.0.8
...
Bumps [io-lifetimes](https://github.com/sunfishcode/io-lifetimes ) from 1.0.5 to 1.0.8.
- [Release notes](https://github.com/sunfishcode/io-lifetimes/releases )
- [Commits](https://github.com/sunfishcode/io-lifetimes/compare/v1.0.5...v1.0.8 )
---
updated-dependencies:
- dependency-name: io-lifetimes
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-03-24 09:37:50 +00:00
dependabot[bot]
3738928f67
build(deps): bump syn from 1.0.107 to 1.0.109
...
Bumps [syn](https://github.com/dtolnay/syn ) from 1.0.107 to 1.0.109.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/1.0.107...1.0.109 )
---
updated-dependencies:
- dependency-name: syn
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-03-22 16:27:55 +00:00
dependabot[bot]
1947f4c124
build(deps): bump rustix from 0.36.8 to 0.36.9
...
Bumps [rustix](https://github.com/bytecodealliance/rustix ) from 0.36.8 to 0.36.9.
- [Release notes](https://github.com/bytecodealliance/rustix/releases )
- [Commits](https://github.com/bytecodealliance/rustix/compare/v0.36.8...v0.36.9 )
---
updated-dependencies:
- dependency-name: rustix
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-03-13 14:36:30 +05:30
dependabot[bot]
9c7dee2baf
build(deps): bump clap from 4.1.6 to 4.1.8
...
Bumps [clap](https://github.com/clap-rs/clap ) from 4.1.6 to 4.1.8.
- [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.1.6...v4.1.8 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-03-13 14:36:20 +05:30
dependabot[bot]
76f056d385
build(deps): bump once_cell from 1.17.0 to 1.17.1
...
Bumps [once_cell](https://github.com/matklad/once_cell ) from 1.17.0 to 1.17.1.
- [Release notes](https://github.com/matklad/once_cell/releases )
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md )
- [Commits](https://github.com/matklad/once_cell/compare/v1.17.0...v1.17.1 )
---
updated-dependencies:
- dependency-name: once_cell
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-03-13 14:36:11 +05:30
dependabot[bot]
b181568ae5
build(deps): bump tempfile from 3.3.0 to 3.4.0
...
Bumps [tempfile](https://github.com/Stebalien/tempfile ) from 3.3.0 to 3.4.0.
- [Release notes](https://github.com/Stebalien/tempfile/releases )
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/NEWS )
- [Commits](https://github.com/Stebalien/tempfile/commits )
---
updated-dependencies:
- dependency-name: tempfile
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-03-13 14:09:24 +05:30
Viresh Kumar
ea699c86de
tests: Initialize queues properly
...
The virtio-queue crate doesn't allow invalid queue state since commit
d951283a8e88 ("don't allow processing descriptors for invalid q").
Initialize the queues properly to fix testing failures.
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
2023-02-28 14:44:14 +05:30
dependabot[bot]
8b9a40299f
build(deps): bump virtio-queue from 0.7.0 to 0.7.1
...
Bumps [virtio-queue](https://github.com/rust-vmm/vm-virtio ) from 0.7.0 to 0.7.1.
- [Release notes](https://github.com/rust-vmm/vm-virtio/releases )
- [Commits](https://github.com/rust-vmm/vm-virtio/compare/virtio-queue-v0.7.0...virtio-queue-v0.7.1 )
---
updated-dependencies:
- dependency-name: virtio-queue
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-02-28 14:44:14 +05:30
Alex Bennée
2857681557
Updates crates to use virtio_config bindings
...
Rather incongruously the common VIRTIO feature flags where part of the
net binding. Now that the new binding are out we can update them to
something generic.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
2023-02-28 14:19:12 +05:30
dependabot[bot]
45b5d49f00
build(deps): bump clap_lex from 0.3.1 to 0.3.2
...
Bumps [clap_lex](https://github.com/clap-rs/clap ) from 0.3.1 to 0.3.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.3.1...clap_lex-v0.3.2 )
---
updated-dependencies:
- dependency-name: clap_lex
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-02-27 10:42:13 +05:30
dependabot[bot]
b32559eb72
build(deps): bump clap from 4.1.4 to 4.1.6
...
Bumps [clap](https://github.com/clap-rs/clap ) from 4.1.4 to 4.1.6.
- [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.1.4...v4.1.6 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-02-20 12:09:24 +05:30
dependabot[bot]
b2af05f8fc
build(deps): bump clang-sys from 1.4.0 to 1.6.0
...
Bumps [clang-sys](https://github.com/KyleMayes/clang-sys ) from 1.4.0 to 1.6.0.
- [Release notes](https://github.com/KyleMayes/clang-sys/releases )
- [Changelog](https://github.com/KyleMayes/clang-sys/blob/master/CHANGELOG.md )
- [Commits](https://github.com/KyleMayes/clang-sys/commits )
---
updated-dependencies:
- dependency-name: clang-sys
dependency-type: indirect
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-02-20 12:09:16 +05:30
dependabot[bot]
10a159dee7
build(deps): bump slab from 0.4.7 to 0.4.8
...
Bumps [slab](https://github.com/tokio-rs/slab ) from 0.4.7 to 0.4.8.
- [Release notes](https://github.com/tokio-rs/slab/releases )
- [Changelog](https://github.com/tokio-rs/slab/blob/master/CHANGELOG.md )
- [Commits](https://github.com/tokio-rs/slab/compare/v0.4.7...v0.4.8 )
---
updated-dependencies:
- dependency-name: slab
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-02-20 12:09:07 +05:30
Viresh Kumar
799073f17c
gpio: Migrate to the upstream version of libgpiod
...
The upstream version doesn't compile the .c files locally and depends on
the package to be locally compiled and installed in advance.
It also doesn't provide pre-generated bindings, and requires bindgen
support.
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
2023-02-15 08:09:13 -07:00
Viresh Kumar
6b14c0b179
Update rust-vmm-ci to v18 of container
...
Update rust-vmm-ci to v18 of the container.
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
2023-02-15 16:12:48 +05:30
Viresh Kumar
3a6c7528cf
Run cargo update
...
Manually update all cargo dependencies.
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
2023-02-13 23:41:17 +05:30
Viresh Kumar
b6e3fd4970
i2c: Change type of mem to GuestMemoryLoadGuard<>
...
This is what we need eventually, while parsing the requests, lets store
the correct type instead of creating the same everytime.
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
2023-02-13 23:41:17 +05:30
dependabot[bot]
170c471028
build(deps): bump windows_i686_msvc from 0.42.0 to 0.42.1
...
Bumps [windows_i686_msvc](https://github.com/microsoft/windows-rs ) from 0.42.0 to 0.42.1.
- [Release notes](https://github.com/microsoft/windows-rs/releases )
- [Commits](https://github.com/microsoft/windows-rs/commits )
---
updated-dependencies:
- dependency-name: windows_i686_msvc
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-02-13 10:39:51 +05:30
dependabot[bot]
212c25dfce
build(deps): bump clap_lex from 0.3.0 to 0.3.1
...
Bumps [clap_lex](https://github.com/clap-rs/clap ) from 0.3.0 to 0.3.1.
- [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.3.0...clap_lex-v0.3.1 )
---
updated-dependencies:
- dependency-name: clap_lex
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-02-13 10:39:42 +05:30
dependabot[bot]
ea09ebce2e
build(deps): bump serial_test from 0.9.0 to 1.0.0
...
Bumps [serial_test](https://github.com/palfrey/serial_test ) from 0.9.0 to 1.0.0.
- [Release notes](https://github.com/palfrey/serial_test/releases )
- [Commits](https://github.com/palfrey/serial_test/compare/v0.9.0...v1.0.0 )
---
updated-dependencies:
- dependency-name: serial_test
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-02-13 10:39:24 +05:30
dependabot[bot]
906bd8131c
build(deps): bump windows_aarch64_gnullvm from 0.42.0 to 0.42.1
...
Bumps [windows_aarch64_gnullvm](https://github.com/microsoft/windows-rs ) from 0.42.0 to 0.42.1.
- [Release notes](https://github.com/microsoft/windows-rs/releases )
- [Commits](https://github.com/microsoft/windows-rs/commits )
---
updated-dependencies:
- dependency-name: windows_aarch64_gnullvm
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-02-06 09:41:35 +05:30
dependabot[bot]
068e9f64a7
build(deps): bump heck from 0.4.0 to 0.4.1
...
Bumps [heck](https://github.com/withoutboats/heck ) from 0.4.0 to 0.4.1.
- [Release notes](https://github.com/withoutboats/heck/releases )
- [Changelog](https://github.com/withoutboats/heck/blob/master/CHANGELOG.md )
- [Commits](https://github.com/withoutboats/heck/commits )
---
updated-dependencies:
- dependency-name: heck
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-02-06 09:41:27 +05:30
dependabot[bot]
ced0c78fc1
build(deps): bump cc from 1.0.78 to 1.0.79
...
Bumps [cc](https://github.com/rust-lang/cc-rs ) from 1.0.78 to 1.0.79.
- [Release notes](https://github.com/rust-lang/cc-rs/releases )
- [Commits](https://github.com/rust-lang/cc-rs/compare/1.0.78...1.0.79 )
---
updated-dependencies:
- dependency-name: cc
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-02-06 09:41:19 +05:30
dependabot[bot]
60acb82d13
build(deps): bump windows_x86_64_gnullvm from 0.42.0 to 0.42.1
...
Bumps [windows_x86_64_gnullvm](https://github.com/microsoft/windows-rs ) from 0.42.0 to 0.42.1.
- [Release notes](https://github.com/microsoft/windows-rs/releases )
- [Commits](https://github.com/microsoft/windows-rs/commits )
---
updated-dependencies:
- dependency-name: windows_x86_64_gnullvm
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-01-30 09:47:28 +05:30
dependabot[bot]
845c9b8481
build(deps): bump num_cpus from 1.14.0 to 1.15.0
...
Bumps [num_cpus](https://github.com/seanmonstar/num_cpus ) from 1.14.0 to 1.15.0.
- [Release notes](https://github.com/seanmonstar/num_cpus/releases )
- [Changelog](https://github.com/seanmonstar/num_cpus/blob/master/CHANGELOG.md )
- [Commits](https://github.com/seanmonstar/num_cpus/compare/v1.14.0...v1.15.0 )
---
updated-dependencies:
- dependency-name: num_cpus
dependency-type: indirect
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-01-30 09:43:07 +05:30
dependabot[bot]
56bd3605ab
build(deps): bump rustix from 0.36.6 to 0.36.7
...
Bumps [rustix](https://github.com/bytecodealliance/rustix ) from 0.36.6 to 0.36.7.
- [Release notes](https://github.com/bytecodealliance/rustix/releases )
- [Commits](https://github.com/bytecodealliance/rustix/compare/v0.36.6...v0.36.7 )
---
updated-dependencies:
- dependency-name: rustix
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-01-30 09:42:46 +05:30
dependabot[bot]
d9efea3d8e
build(deps): bump is-terminal from 0.4.1 to 0.4.2
...
Bumps [is-terminal](https://github.com/sunfishcode/is-terminal ) from 0.4.1 to 0.4.2.
- [Release notes](https://github.com/sunfishcode/is-terminal/releases )
- [Commits](https://github.com/sunfishcode/is-terminal/compare/v0.4.1...v0.4.2 )
---
updated-dependencies:
- dependency-name: is-terminal
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-01-23 14:59:09 +05:30
dependabot[bot]
6607b48e79
build(deps): bump io-lifetimes from 1.0.3 to 1.0.4
...
Bumps [io-lifetimes](https://github.com/sunfishcode/io-lifetimes ) from 1.0.3 to 1.0.4.
- [Release notes](https://github.com/sunfishcode/io-lifetimes/releases )
- [Commits](https://github.com/sunfishcode/io-lifetimes/compare/v1.0.3...1.0.4 )
---
updated-dependencies:
- dependency-name: io-lifetimes
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-01-23 14:59:01 +05:30
dependabot[bot]
74e302b259
build(deps): bump proc-macro2 from 1.0.47 to 1.0.50
...
Bumps [proc-macro2](https://github.com/dtolnay/proc-macro2 ) from 1.0.47 to 1.0.50.
- [Release notes](https://github.com/dtolnay/proc-macro2/releases )
- [Commits](https://github.com/dtolnay/proc-macro2/compare/1.0.47...1.0.50 )
---
updated-dependencies:
- dependency-name: proc-macro2
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-01-23 14:58:51 +05:30
Viresh Kumar
8a6c25f3e7
gpio: Update to a newer version of libgpiod
...
Update to a newer version of libgpiod crates.
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
2023-01-20 15:30:53 +05:30
Stefano Garzarella
d1539d5274
vsock: require virtio-vsock 0.2.1
...
The 0.2.1 version of virtio-vsock crate contains a fix [1] needed to
properly work with the virtio-vsock driver provided by Linux v6.3 and
later (originally the new driver was supposed to be in v6.2, but it
was postponed).
The fix was just a quick workaround, but in the future more work will
be needed in the virtio-vsock crate to not have a Linux-only specific
implementation of VsockPacket, as described in this issue [2].
[1] https://github.com/rust-vmm/vm-virtio/pull/207
[2] https://github.com/rust-vmm/vm-virtio/issues/216
Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
2023-01-19 09:37:25 -07:00
Viresh Kumar
26a0f3ad4d
Fix clippy errors
...
New clippy errors were reported with an updated rust-vmm-ci submodule,
fix them.
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
2023-01-16 15:20:10 +05:30